PolylineOptions class

Constructors

PolylineOptions({required List<LatLng> latLngList, required double width, Color color = Colors.black, double zIndex = 0, bool isVisible = true, bool isDottedLine = false, bool isGeodesic = false, int dottedLineType = DOTTED_LINE_TYPE_SQUARE, int lineCapType = LINE_CAP_TYPE_BUTT, int lineJoinType = LINE_JOIN_BEVEL, bool isUseGradient = false, bool isUseTexture = false, String customTexture = ''})

Properties

color Color
线段的颜色 Android, iOS
final
customTexture String
final
dottedLineType int
虚线形状 Android, iOS
final
hashCode int
The hash code for this object.
no setterinherited
isDottedLine bool
线段是否画虚线,默认为false,画实线 Android, iOS
final
isGeodesic bool
线段是否为大地曲线,默认false,不画大地曲线 Android
final
isUseGradient bool
线段是否使用渐变色 Android
final
isUseTexture bool
线段是否使用纹理贴图 Android
final
isVisible bool
线段的可见属性 Android
final
latLngList List<LatLng>
顶点 Android, iOS
final
lineCapType int
Polyline尾部形状 Android, iOS
final
lineJoinType int
Polyline连接处形状 Android, iOS
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double
线段的宽度 Android, iOS
final
zIndex double
线段的Z轴值 Android
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toJsonString() String
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited