BMFPolyline constructor

BMFPolyline(
  1. {@required List<BMFCoordinate> coordinates,
  2. @required List<int> indexs,
  3. int width: 5,
  4. List<Color> colors: const [],
  5. List<String> textures: const [],
  6. BMFLineDashType lineDashType: BMFLineDashType.LineDashTypeNone,
  7. BMFLineCapType lineCapType: BMFLineCapType.LineCapButt,
  8. BMFLineJoinType lineJoinType: BMFLineJoinType.LineJoinBevel,
  9. bool clickable: true,
  10. bool isKeepScale: true,
  11. bool isFocus: false,
  12. int zIndex: 0,
  13. bool visible: true}
)

BMFPolyline构造方法

Implementation

BMFPolyline(
    {@required this.coordinates,
    @required this.indexs,
    this.width: 5,
    this.colors: const [],
    this.textures: const [],
    this.lineDashType: BMFLineDashType.LineDashTypeNone,
    this.lineCapType: BMFLineCapType.LineCapButt,
    this.lineJoinType: BMFLineJoinType.LineJoinBevel,
    this.clickable: true,
    this.isKeepScale: true,
    this.isFocus: false,
    int zIndex: 0,
    bool visible: true})
    : super(zIndex: zIndex, visible: visible);