CameraBound class
Constructors
- CameraBound({num damping = 0, num centerX = 0, num centerY = 0, num? width, num? height, num? minScale, num? maxScale})
- CameraBound.withContentModeConfig({num damping = 0, num centerX = 0, num centerY = 0, num? width, num? height, ContentModeConfig? minContentMode, ContentModeConfig? maxContentMode})
Properties
- centerX → num
-
视角边界的中心点在世界坐标系(以白板初始化时的中心点为原点的坐标系)中的 X 轴坐标。
final
- centerY → num
-
视角边界的中心点在世界坐标系(以白板初始化时的中心点为原点的坐标系)中的 Y 轴坐标。
final
- damping → num
-
用户将视角移出视角边界时感受到的阻力
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → num?
-
视角边界的高度。
final
- maxContentMode ↔ ContentModeConfig?
-
getter/setter pair
- minContentMode ↔ ContentModeConfig?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → num?
-
视角边界的宽度。
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited