BMFPolyline.multiTextureline constructor

BMFPolyline.multiTextureline(
  1. {required List<BMFCoordinate> coordinates,
  2. required List<String>? textures,
  3. required List<int>? indexs,
  4. int? width = 5,
  5. BMFLineCapType? lineCapType = BMFLineCapType.LineCapButt,
  6. BMFLineJoinType? lineJoinType = BMFLineJoinType.LineJoinBevel,
  7. BMFLineDirectionCross180Type? lineDirectionCross180 = BMFLineDirectionCross180Type.None,
  8. bool? isThined = true,
  9. bool? clickable = true,
  10. bool? isKeepScale = false,
  11. bool? isFocus = true,
  12. int zIndex = 0,
  13. bool visible = true,
  14. Map? customMap}
)

多纹理折线构造方法

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,
  Map? customMap,
})  : assert(coordinates.length > 1),
      assert(indexs!.length > 0),
      assert(textures!.length > 0),
      super(zIndex: zIndex, visible: visible, customMap: customMap) {
  lineDashType = BMFLineDashType.LineDashTypeNone;
}