BMFCircle class
圆
- Inheritance
-
- Object
- BMFOverlay
- BMFCircle
- Implemented types
- Implementers
- Available Extensions
Constructors
-
BMFCircle({required BMFCoordinate center, required double radius, int? width = 5, Color? strokeColor = Colors.blue, Color? fillColor = Colors.red, BMFLineDashType? lineDashType = BMFLineDashType.LineDashTypeNone, bool? dottedLine, List<
BMFHollowShape> ? hollowShapes, bool? clickable = false, int zIndex = 0, bool visible = true, Map? customMap}) - BMFCircle构造方法
- BMFCircle.fromMap(Map map)
- map => BMFCircle
Properties
-
bounds
→ Future<
BMFCoordinateBounds?> -
返回overlay外接矩形 since 3.1.0
read-onlyoverride
- center ↔ BMFCoordinate
-
圆心点经纬度
read / write
- className ↔ String?
-
类名
read / writeinherited
- clickable ↔ bool?
-
是否可点击,默认为false since 3.5.0
read / write
- customMap ↔ Map?
-
开发者自定义字段
read / writeinherited
- dottedLine ↔ bool?
-
设置圆是否虚线(Android独有)
read / write
- fillColor ↔ Color?
-
设置circleView的填充色
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
hollowShapes
↔ List<
BMFHollowShape> ? -
设置中空区域,用来创建中间带空洞的复杂图形。
read / write
- Id → String
-
获取id
read-onlyinherited
- id → String
-
获取id since 3.2.0
read-onlyinherited
- lineDashType ↔ BMFLineDashType?
-
设置circleView为虚线样式
read / write
- radius ↔ double
-
圆的半径(单位米)
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- strokeColor ↔ Color?
-
设置circleView的边框颜色
read / write
- visible ↔ bool?
-
overlay是否可见
read / writeinherited
- width ↔ int?
-
设置circleView的线宽度
read / write
- zIndex ↔ int?
-
元素的堆叠顺序
read / writeinherited
Methods
-
fromMap(
Map map) → dynamic -
map -> dynamic
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
model -> map
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited