BMFHollowShape class Null safety
镂空图形数据模型 注意:一个实例BMFHollowShape对象只可对应一个镂空区域
Constructors
- BMFHollowShape({required BMFHollowShapeType hollowShapeType, List? coordinates, dynamic center, double? radius})
- 有参构造
- BMFHollowShape.circle({required dynamic center, double? radius})
- 圆形镂空
- BMFHollowShape.fromMap(Map map)
- map => BMFHollowShape
- BMFHollowShape.polygon({required List? coordinates})
- 多边形镂空
Properties
- center ↔ dynamic
-
以下属性为圆形镂空属性***
圆形镂空区域 赋值center radius
圆心点经纬度
read / write
- coordinates ↔ List?
-
以下属性为多边形镂空属性*
多边形镂空区域 赋值coordinates
经纬度数组
read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
- hollowShapeType ↔ BMFHollowShapeType
-
镂空类型
read / write
- radius ↔ double?
-
圆的半径(单位米)
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
fromMap(
Map map) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited