PreviewQualityPolicy

sealed interface PreviewQualityPolicy(source)

How hard the preview may work.

Inheritors

Types

Link copied to clipboard
class CapHeight(val heightPx: Int) : PreviewQualityPolicy

Render no taller than heightPx, reporting the resulting scale in PreviewInfo.renderScale.

Link copied to clipboard

Render at the composition's full output size.