BMFPolyline.textureline constructor
- {required List<
BMFCoordinate> coordinates, - required String texture,
- int? width = 5,
- BMFLineCapType? lineCapType = BMFLineCapType.LineCapButt,
- BMFLineJoinType? lineJoinType = BMFLineJoinType.LineJoinBevel,
- BMFLineDirectionCross180Type? lineDirectionCross180 = BMFLineDirectionCross180Type.None,
- bool? isThined = true,
- bool? clickable = true,
- bool? isKeepScale = false,
- bool? isFocus = true,
- int zIndex = 0,
- bool visible = true,
- Map? customMap}
单纹理折线构造方法
Implementation
BMFPolyline.textureline({
required this.coordinates,
required String texture,
this.width = 5,
this.lineCapType = BMFLineCapType.LineCapButt,
this.lineJoinType = BMFLineJoinType.LineJoinBevel,
this.lineDirectionCross180 = BMFLineDirectionCross180Type.None,
this.isThined = true,
this.clickable = true,
this.isKeepScale = false,
this.isFocus = true,
int zIndex = 0,
bool visible = true,
Map? customMap,
}) : assert(coordinates.length > 1),
super(zIndex: zIndex, visible: visible, customMap: customMap) {
textures = <String>[];
textures!.add(texture);
lineDashType = BMFLineDashType.LineDashTypeNone;
}