Version: 2017.3

VideoAspectRatio

enumeration

Cambiar al Manual

Descripción

Methods used to fit a video in the target area.

Variables

NoScalingPreserve the pixel size without adjusting for target area.
FitVerticallyResize proportionally so that height fits the target area, cropping or adding black bars on each side if needed.
FitHorizontallyResize proportionally so that width fits the target area, cropping or adding black bars above and below if needed.
FitInsideResize proportionally so that content fits the target area, adding black bars if needed.
FitOutsideResize proportionally so that content fits the target area, cropping if needed.
StretchResize non-proportionally to fit the target area.