VideoAspectRatio
enumeration
Description 描述
Methods used to fit a video in the target area.
Properties 属性
| NoScaling | Preserve the pixel size without adjusting for target area. | ||
| FitVertically | Resize proportionally so that height fits the target area, cropping or adding black bars on each side if needed. | ||
| FitHorizontally | Resize proportionally so that width fits the target area, cropping or adding black bars above and below if needed. | ||
| FitInside | Resize proportionally so that content fits the target area, adding black bars if needed. | ||
| FitOutside | Resize proportionally so that content fits the target area, cropping if needed. | ||
| Stretch | Resize non-proportionally to fit the target area. |