BMFArcLine class
弧线
- Inheritance
-
- Object
- BMFOverlay
- BMFArcLine
- Implemented types
- Available extensions
Constructors
-
BMFArcLine({required List<
BMFCoordinate> coordinates, int? width = 5, Color? color = Colors.blue, BMFLineDashType? lineDashType = BMFLineDashType.LineDashTypeNone, bool? clickable = false, int zIndex = 0, bool visible = true, Map? customMap}) - BMFArcline构造方法
- BMFArcLine.fromMap(Map map)
- map => BMFArcline
Properties
-
bounds
→ Future<
BMFCoordinateBounds?> -
返回overlay外接矩形 since 3.1.0
no setteroverride
- className ↔ String?
-
类名
getter/setter pairinherited
- clickable ↔ bool?
-
是否可点击,默认为flase since 3.5.0
getter/setter pair
- color ↔ Color?
-
设置arclineView的画笔颜色
getter/setter pair
-
coordinates
↔ List<
BMFCoordinate> -
经纬度数组三个点确定一条弧线
getter/setter pair
- customMap ↔ Map?
-
开发者自定义字段
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- Id → String
-
获取id
no setterinherited
- id → String
-
获取id since 3.2.0
no setterinherited
- lineDashType ↔ BMFLineDashType?
-
虚线类型,iOS独有
getter/setter pair
- methodChannel ↔ MethodChannel
-
Available on BMFOverlay, provided by the OverlayMethodChannelExension extension
获取channelgetter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- visible ↔ bool?
-
overlay是否可见
getter/setter pairinherited
- width ↔ int?
-
设置arclineView的线宽度
getter/setter pair
- zIndex ↔ int?
-
元素的堆叠顺序
getter/setter pairinherited
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
-
updateColor(
Color color) → Future< bool> -
Available on BMFArcLine, provided by the BMFArcLineUpdateExtension extension
更新color -
updateCoordinates(
List< BMFCoordinate> coordinates) → Future<bool> -
Available on BMFArcLine, provided by the BMFArcLineUpdateExtension extension
更新经纬度数组 -
updateLineDashType(
BMFLineDashType lineDashType) → Future< bool> -
Available on BMFArcLine, provided by the BMFArcLineUpdateExtension extension
虚线类型,iOS独有 -
updateWidth(
int width) → Future< bool> -
Available on BMFArcLine, provided by the BMFArcLineUpdateExtension extension
更新线宽
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited