Scale

class Scale(val heightPx: Int, val fit: Fit = Fit.Contain) : EffectSpec(source)

Set the output height in pixels. The width follows from the composition's aspect.

Constructors

Link copied to clipboard
constructor(heightPx: Int, fit: Fit = Fit.Contain)

Properties

Link copied to clipboard
Link copied to clipboard
val fit: Fit

How the frame is fitted to heightPx.

Link copied to clipboard

Target height in pixels. Rounded down to the encoder's alignment, and the rounding is reported as a ResolutionClamped adjustment.

Link copied to clipboard
open override val id: String
Link copied to clipboard
open val isInert: Boolean
Link copied to clipboard
Link copied to clipboard
open val scope: EffectScope
Link copied to clipboard
open override val stage: EffectStage