Modifier

Partager via


AVVideoScalingMode Enum

Definition

Specifies how video should be scaled to fit a given area.

public enum AVVideoScalingMode
type AVVideoScalingMode = 
Inheritance
AVVideoScalingMode

Fields

Name Value Description
Fit 0

Crop to remove edge processing region.

Resize 1

Crop to remove edge processing region and scales remaining area to fit destination area.

ResizeAspect 2

Preserves aspect ratio of the source and fills remaining areas with black to fit destination dimensions.

ResizeAspectFill 3

Preserves aspect ratio of the source and crops picture to fit destination dimensions.

Applies to