BMFPolyline.multiTextureline constructor Null safety
- {required List<
BMFCoordinate> coordinates, - required List<
String> ? textures, - required List<
int> indexs, - 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}
多纹理折线构造方法
Implementation
BMFPolyline.multiTextureline({
required this.coordinates,
required this.textures,
required this.indexs,
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,
}) : assert(coordinates.length > 1),
assert(indexs.length > 0),
assert(textures!.length > 0),
super(zIndex: zIndex, visible: visible) {
lineDashType = BMFLineDashType.LineDashTypeNone;
}