BMFPolygon constructor

BMFPolygon(
  1. {@required List<BMFCoordinate> coordinates,
  2. int width: 5,
  3. Color strokeColor: Colors.blue,
  4. Color fillColor: Colors.red,
  5. BMFLineDashType lineDashType: BMFLineDashType.LineDashTypeNone,
  6. int zIndex: 0,
  7. bool visible: true}
)

BMFPolygon构造方法

Implementation

BMFPolygon(
    {@required this.coordinates,
    this.width: 5,
    this.strokeColor: Colors.blue,
    this.fillColor: Colors.red,
    this.lineDashType: BMFLineDashType.LineDashTypeNone,
    int zIndex: 0,
    bool visible: true})
    : super(zIndex: zIndex, visible: visible);