BMFPolyline constructor
- {@required List<
BMFCoordinate> coordinates, - @required List<
int> indexs, - int width: 5,
- List<
Color> colors: const [], - List<
String> textures: const [], - bool dottedLine: true,
- BMFLineDashType lineDashType: BMFLineDashType.LineDashTypeNone,
- BMFLineCapType lineCapType: BMFLineCapType.LineCapButt,
- BMFLineJoinType lineJoinType: BMFLineJoinType.LineJoinBevel,
- bool isThined: true,
- bool clickable: true,
- bool isKeepScale: false,
- bool isFocus: true,
- int zIndex: 0,
- 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,
}) : assert(coordinates != null),
assert(indexs != null),
super(zIndex: zIndex, visible: visible);