BMFPolyline constructor
- {required List<
BMFCoordinate> coordinates, - List<
int> ? indexs = const [], - 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,
- BMFLineDirectionCross180Type? lineDirectionCross180 = BMFLineDirectionCross180Type.None,
- bool? isThined = true,
- bool? clickable = true,
- bool? isKeepScale = false,
- bool? isFocus = true,
- BMFLineBloomMode? lineBloomMode = BMFLineBloomMode.LineBloomModeNone,
- double? lineBloomWidth = 0.0,
- double? lineBloomAlpha = 255.0,
- double? lineBloomGradientASPeed = 5.0,
- int? lineBloomBlurTimes = 0,
- int zIndex = 0,
- bool visible = true,
- Map? customMap}
BMFPolyline构造方法
Implementation
BMFPolyline({
required this.coordinates,
this.indexs = const [],
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.lineDirectionCross180 = BMFLineDirectionCross180Type.None,
this.isThined = true,
this.clickable = true,
this.isKeepScale = false,
this.isFocus = true,
this.lineBloomMode = BMFLineBloomMode.LineBloomModeNone,
this.lineBloomWidth = 0.0,
this.lineBloomAlpha = 255.0,
this.lineBloomGradientASPeed = 5.0,
this.lineBloomBlurTimes = 0,
int zIndex = 0,
bool visible = true,
Map? customMap,
}) : assert(coordinates.length > 1),
assert(indexs!.length >= 0),
super(zIndex: zIndex, visible: visible, customMap: customMap);