BMFGradientLine class

渐变线 since 3.1.0

Inheritance
Implemented types
Available Extensions

Constructors

BMFGradientLine({required List<BMFCoordinate> coordinates, required List<int> indexs, required List<Color> colors, int? width = 5, BMFLineDirectionCross180Type? lineDirectionCross180 = BMFLineDirectionCross180Type.None, bool? isThined = true, bool? clickable = true, int zIndex = 0, bool visible = true, Map? customMap})
渐变线构造方法
BMFGradientLine.fromMap(Map map)
map => BMFGradientLine

Properties

bounds → Future<BMFCoordinateBounds?>
返回overlay外接矩形 since 3.1.0
read-onlyoverride
className ↔ String?
类名
read / writeinherited
clickable ↔ bool?
是否可点击 默认为true since 3.5.0
read / write
colors ↔ List<Color>
渐变线的colors
read / write
coordinates ↔ List<BMFCoordinate>
经纬度数组
read / write
customMap ↔ Map?
开发者自定义字段
read / writeinherited
hashCode → int
The hash code for this object.
read-onlyinherited
Id → String
获取id
read-onlyinherited
id → String
获取id since 3.2.0
read-onlyinherited
indexs ↔ List<int>
分段索引
read / write
isThined ↔ bool?
是否抽稀 默认ture
read / write
lineDirectionCross180 BMFLineDirectionCross180Type?
渐变线经度跨180所需字段
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
visible ↔ bool?
overlay是否可见
read / writeinherited
width ↔ int?
线宽
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