MixedStreamRenderMode enum

{zh} * @detail keytype @brief 图片或视频流的缩放模式。

Inheritance
Available extensions

Values

hidden → const MixedStreamRenderMode

@brief (Default) 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 MixedStreamRenderMode

@brief 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 MixedStreamRenderMode

@brief Fill the canvas.
The video frame is scaled to fill the canvas. During the process, the aspect ratio may change.

Properties

$value → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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<MixedStreamRenderMode>
A constant List of the values in this enum, in order of their declaration.