BMFCircle class
圆
- Inheritance
- Object
- BMFOverlay
- BMFCircle
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, int zIndex: 0, bool visible: true}) - BMFCircle构造方法
- BMFCircle.fromMap(Map map)
- map => BMFCircle
Properties
- center ↔ BMFCoordinate
-
圆心点经纬度
read / write
- dottedLine ↔ bool
-
设置折线是否虚线(Android独有) [...]
read / write
- fillColor ↔ Color
-
设置circleView的填充色
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
hollowShapes
↔ List<
BMFHollowShape> -
设置中空区域,用来创建中间带空洞的复杂图形。
read / write
- Id → String
-
获取id
read-only, inherited
- lineDashType ↔ BMFLineDashType
-
设置circleView为虚线样式 [...]
read / write
- methodChannel ↔ MethodChannel
-
获取channdel
read / write, inherited
- radius ↔ double
-
圆的半径(单位米)
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- strokeColor ↔ Color
-
设置circleView的边框颜色
read / write
- visible ↔ bool
-
overlay是否可见 [...]
read / write, inherited
- width ↔ int
-
设置circleView的线宽度
read / write
- 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 -
Returns a string representation of this object.
inherited
-
updateCenter(
BMFCoordinate center) → Future< bool> - 更新圆心点经纬度 [...]
-
updateDottedLine(
bool dottedLine) → Future< bool> - 更新是否虚线 Android [...]
-
updateFillColor(
Color fillColor) → Future< bool> - 更新fillColor
-
updateHollowShapes(
List< BMFHollowShape> hollowShapes) → Future<bool> - 更新镂空区 [...]
-
updateLineDashType(
BMFLineDashType lineDashType) → Future< bool> - 虚线类型 [...]
-
updateRadius(
double radius) → Future< bool> - 更新半径
-
updateStrokeColor(
Color strokeColor) → Future< bool> - 更新strokeColor
-
updateWidth(
int width) → Future< bool> - 更新线宽
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited