ZegoEffectsScaleMode enum Null safety

效果插件的缩放模式。

Inheritance

Constructors

ZegoEffectsScaleMode()
const

Values

AspectFit → const ZegoEffectsScaleMode

等比例缩放,保持原始宽高比,不裁剪,可能会有黑边。

AspectFill → const ZegoEffectsScaleMode

等比例缩放,保持原始宽高比,裁剪多余部分,填满容器。

ScaleToFill → const ZegoEffectsScaleMode

缩放填满,不保持原始宽高比,可能会拉伸或压缩图像。

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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<ZegoEffectsScaleMode>
A constant List of the values in this enum, in order of their declaration.
[AspectFit, AspectFill, ScaleToFill]