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 })

Properties

color Color
线段的颜色 Android, iOS
final
dottedLineType → int
虚线形状 Android, iOS
final
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
width → double
线段的宽度 Android, iOS
final
zIndex → double
线段的Z轴值 Android
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
toJsonString() → String
toString() → String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited