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. bool dottedLine: true,
  7. BMFLineDashType lineDashType: BMFLineDashType.LineDashTypeNone,
  8. BMFLineCapType lineCapType: BMFLineCapType.LineCapButt,
  9. BMFLineJoinType lineJoinType: BMFLineJoinType.LineJoinBevel,
  10. bool isThined: true,
  11. bool clickable: true,
  12. bool isKeepScale: false,
  13. bool isFocus: true,
  14. int zIndex: 0,
  15. bool visible: true}
)

BMFPolyline构造方法

Implementation

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