PolylineStyle class abstract
Zoom and tilt independent styling parameters for outline. Default values for PolylineStyle fields are the same as corresponding PolylineMapObject if not specified explicitly.
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isValid(
) → bool - Usable only in runWithBlockUi or listener handlers.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setArcApproximationStep(
double arcApproximationStep) → void - Defines step of arc approximation. Smaller values make polyline smoother. Measured in degrees.
-
setDashLength(
double dashLength) → void - Length of a dash in units. Default: 0 (dashing is turned off). Arrows are ignored in dashed polylines.
-
setDashOffset(
double dashOffset) → void - Offset from the start of the polyline to the reference dash in units. Default: 0.
-
setGapLength(
double gapLength) → void - Length of the gap between two dashes in units. Default: 0 (dashing is turned off). Arrows are ignored in dashed polylines.
-
setInnerOutlineEnabled(
bool innerOutlineEnabled) → void - Enables the inner outline if true (a dark border along the edge of the outline).
-
setOutlineColor(
Color outlineColor) → void - Color of outline in polyline.
-
setOutlineWidth(
StylingProportionFunction outlineWidth) → void - Width of the outline in units. Default: 0
-
setStrokeColor(
Color strokeColor) → void - Primary color of polyline. Used only if jams disabled or unavailable.
-
setStrokeWidth(
StylingProportionFunction strokeWidth) → void - The stroke width in units (see mapkit.map.PolylineMapObject.strokeWidth for details). Default: constantValue: 5
-
setTurnRadius(
double turnRadius) → void - Maximum radius of a turn. Measured in units.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited