WBImageScalingMode enum
Whiteboard image scaling mode
白板图片缩放模式。
Values
- Fit → const WBImageScalingMode
-
Fit the view, maintaining aspect ratio.
适合视图,保持宽高比。
- AutoFill → const WBImageScalingMode
-
Fill the view automatically, maintaining aspect ratio, align top and left.
自动填充视图,保持宽高比,左上对齐。
- FillWidth → const WBImageScalingMode
-
Fill the view width, maintaining aspect ratio, align top.
按宽填充视图,保持宽高比,顶侧对齐。
- FillHeight → const WBImageScalingMode
-
Fill the view height, maintaining aspect ratio, align left.
按高填充视图,保持宽高比,左侧对齐。
- FitCenter → const WBImageScalingMode
-
Fit the view, maintaining aspect ratio, align center.
适合视图,保持宽高比,居中。
Properties
- 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<
WBImageScalingMode> - A constant List of the values in this enum, in order of their declaration.