PreserveAspectRatio

Preserves the same aspect ratio as the input video. If only one video dimension is provided, the second dimension is calculated based on the input video aspect ratio. When 2 dimensions are provided, the video is resized to fit the most constraining dimension, considering the input video size and aspect ratio.

Properties

Link copied to clipboard
val javaValue: VideoScaleMode
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): VideoScaleMode