BMFHollowShape class

镂空图形数据模型 注意:一个实例BMFHollowShape对象只可对应一个镂空区域

Constructors

BMFHollowShape({@required BMFHollowShapeType hollowShapeType, List<BMFCoordinate> coordinates, BMFCoordinate center, double radius})
有参构造
BMFHollowShape.circle({@required BMFCoordinate center, double radius})
圆形镂空
BMFHollowShape.fromMap(Map map)
map => BMFHollowShape
BMFHollowShape.polygon({@required List<BMFCoordinate> coordinates})
多边形镂空

Properties

center ↔ BMFCoordinate
以下属性为圆形镂空属性*** 圆形镂空区域 赋值center radius 圆心点经纬度
read / write
coordinates ↔ List<BMFCoordinate>
以下属性为多边形镂空属性* 多边形镂空区域 赋值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
map -> dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap() → Map<String, Object>
model -> map
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited