BMFCircle.withMap constructor
- Map map
Implementation
BMFCircle.withMap(Map map) {
if (null == map) {
return;
}
super.fromMap(map);
this.center = BMFCoordinate.coordinate().fromMap(map['center']);
this.radius = map['radius'];
this.width = map['width'];
this.strokeColor = ColorUtil.hexToColor(map['strokeColor']);
this.fillColor = ColorUtil.hexToColor(map['fillColor']);
this.lineDashType = BMFLineDashType.values[map['lineDashType'] as int];
}