VideoRenderMode enum
Video rendering scale mode.
Values
-
Fill and Crop.
The video frame is scaled with fixed aspect ratio, until it completely fills the canvas. The region of the video exceeding the canvas will be cropped.
- fit → const VideoRenderMode
-
Fit.
The video frame is scaled with fixed aspect ratio, until it fits just within the canvas. Other part of the canvas is filled with the background color.
- adaptive → const VideoRenderMode
-
Fill the canvas.
The video frame is scaled to fill the canvas. During the process, the aspect ratio may change.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
VideoRenderMode> - A constant List of the values in this enum, in order of their declaration.