BMFGradientCircle class Null safety
渐变圆不支持镂空及fillColor 设置渐变圆,镂空及fillColor就会失效
- Inheritance
-
- Object
- BMFOverlay
- BMFCircle
- BMFGradientCircle
- 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
read-only, inherited
- center ↔ BMFCoordinate
-
圆心点经纬度
read / write, inherited
- centerColor ↔ Color?
-
中心颜色
read / write
- className ↔ String?
-
类名
read / write, inherited
- colorWeight ↔ double?
-
颜色权重
取值范围(0.0, 1.0),默认 0.2
read / write
- dottedLine ↔ bool?
-
设置圆是否虚线(Android独有)
read / write, inherited
- fillColor ↔ Color?
-
设置circleView的填充色
read / write, inherited
- hashCode → int
-
The hash code for this object.
read-only, inherited
-
hollowShapes
↔ List<
BMFHollowShape> ? -
设置中空区域,用来创建中间带空洞的复杂图形。
read / write, inherited
- Id → String
-
获取id
@Deprecated('Use `id` method instead since 3.2.0'), read-only, inherited
- id → String
-
获取id since 3.2.0
read-only, inherited
- lineDashType ↔ BMFLineDashType?
-
设置circleView为虚线样式
read / write, inherited
- radius ↔ double
-
圆的半径(单位米)
read / write, inherited
- radiusWeight ↔ double?
-
半径权重
取值范围(0.0, 1.0),默认 s0.5
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- sideColor ↔ Color?
-
边缘颜色
read / write
- strokeColor ↔ Color?
-
设置circleView的边框颜色
read / write, inherited
- visible ↔ bool?
-
overlay是否可见
read / write, inherited
- width ↔ int?
-
设置circleView的线宽度
read / write, inherited
- zIndex ↔ int?
-
元素的堆叠顺序
read / write, inherited
Methods
-
fromMap(
Map map) → dynamic -
map -> dynamic
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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