ZegoEffectsScaleMode enum Null safety

The scaling mode of the effect plugin.

Inheritance

Constructors

ZegoEffectsScaleMode()
const

Values

AspectFit → const ZegoEffectsScaleMode

Scale proportionally, maintain the original aspect ratio, do not crop, black bars may appear.

AspectFill → const ZegoEffectsScaleMode

Scale proportionally, maintain the original aspect ratio, crop excess parts, fill the container.

ScaleToFill → const ZegoEffectsScaleMode

Scale to fill, do not maintain the original aspect ratio, the image may be stretched or compressed.

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]