BMFGradientCircle class

渐变圆不支持镂空及fillColor 设置渐变圆,镂空及fillColor就会失效

Inheritance
Available extensions

Constructors

BMFGradientCircle({Color? centerColor, Color? sideColor, double? radiusWeight, double? colorWeight, required BMFCoordinate center, required double radius, int? width, Color? strokeColor, BMFLineDashType? lineDashType, bool? dottedLine})
BMFGradientCircle.fromMap(Map map)
map => BMFGradientCircle

Properties

bounds Future<BMFCoordinateBounds?>
返回overlay外接矩形 since 3.1.0
no setterinherited
center ↔ BMFCoordinate
圆心点经纬度
getter/setter pairinherited
centerColor Color?
中心颜色
getter/setter pair
className String?
类名
getter/setter pairinherited
clickable bool?
是否可点击,默认为false since 3.5.0
getter/setter pairinherited
colorWeight double?
颜色权重 取值范围(0.0, 1.0),默认 0.2
getter/setter pair
customMap Map?
开发者自定义字段
getter/setter pairinherited
dottedLine bool?
设置圆是否虚线(Android独有)
getter/setter pairinherited
fillColor Color?
设置circleView的填充色
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
hollowShapes List<BMFHollowShape>?
设置中空区域,用来创建中间带空洞的复杂图形。
getter/setter pairinherited
Id String
获取id
no setterinherited
id String
获取id since 3.2.0
no setterinherited
lineDashType BMFLineDashType?
设置circleView为虚线样式
getter/setter pairinherited
methodChannel MethodChannel

Available on BMFOverlay, provided by the OverlayMethodChannelExension extension

获取channel
getter/setter pair
radius double
圆的半径(单位米)
getter/setter pairinherited
radiusWeight double?
半径权重 取值范围(0.0, 1.0),默认 s0.5
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sideColor Color?
边缘颜色
getter/setter pair
strokeColor Color?
设置circleView的边框颜色
getter/setter pairinherited
visible bool?
overlay是否可见
getter/setter pairinherited
width int?
设置circleView的线宽度
getter/setter pairinherited
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
updateCenter(BMFCoordinate center) Future<bool>

Available on BMFCircle, provided by the BMFCircleUpdateExtension extension

更新圆心点经纬度
updateDottedLine(bool dottedLine) Future<bool>

Available on BMFCircle, provided by the BMFCircleUpdateExtension extension

更新是否虚线 Android
updateFillColor(Color fillColor) Future<bool>

Available on BMFCircle, provided by the BMFCircleUpdateExtension extension

更新fillColor
updateHollowShapes(List<BMFHollowShape> hollowShapes) Future<bool>

Available on BMFCircle, provided by the BMFCircleUpdateExtension extension

更新镂空区
updateLineDashType(BMFLineDashType lineDashType) Future<bool>

Available on BMFCircle, provided by the BMFCircleUpdateExtension extension

虚线类型
updateRadius(double radius) Future<bool>

Available on BMFCircle, provided by the BMFCircleUpdateExtension extension

更新半径
updateStrokeColor(Color strokeColor) Future<bool>

Available on BMFCircle, provided by the BMFCircleUpdateExtension extension

更新strokeColor
updateWidth(int width) Future<bool>

Available on BMFCircle, provided by the BMFCircleUpdateExtension extension

更新线宽

Operators

operator ==(Object other) bool
The equality operator.
inherited