BMFPolygon constructor
- {@required List<
BMFCoordinate> coordinates, - int width: 5,
- Color strokeColor: Colors.blue,
- Color fillColor: Colors.red,
- BMFLineDashType lineDashType: BMFLineDashType.LineDashTypeNone,
- List<
BMFHollowShape> hollowShapes, - int zIndex: 0,
- bool visible: true}
BMFPolygon构造方法
Implementation
BMFPolygon({
@required this.coordinates,
this.width: 5,
this.strokeColor: Colors.blue,
this.fillColor: Colors.red,
this.lineDashType: BMFLineDashType.LineDashTypeNone,
this.hollowShapes,
int zIndex: 0,
bool visible: true,
}) : assert(coordinates != null),
super(zIndex: zIndex, visible: visible);