VideoScalingMode

视频缩放模式

Parameters

None

不缩放

AspectFit

等比缩放,直到一个维度适合

AspectFill

等比缩放,直到影片填满可见边界,一个维度可能被剪裁内容

Fill

非等比缩放,两个渲染尺寸都将与可见边界完全匹配

Entries

Link copied to clipboard

不缩放

Link copied to clipboard

等比缩放,直到一个维度适合

Link copied to clipboard

等比缩放,直到影片填满可见边界,一个维度可能被剪裁内容

Link copied to clipboard

非等比缩放,两个渲染尺寸都将与可见边界完全匹配

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.