PolylineStyle

constructor(styleName: String = "", minMapScaleFactor: Double = 0.0, maxMapScaleFactor: Double = 0.0, visible: Boolean = true, color: Int = 0, borderColor: Int = 0, centerColor: Int = 0, width: Int = 1, realUnits: Boolean = false, dashStyle: DashStyle = DashStyle.SOLID, halfWidthStyle: HalfWidthStyle = HalfWidthStyle.NO, arrowWidth: Int = 0, arrowRealUnits: Boolean = false, arrowColor: Int = 0, arrowDirection: ArrowDirection = ArrowDirection.TO, arrowFilled: Boolean = true, arrowStyle: ArrowStyle = ArrowStyle.HEAD_ONLY, arrowPosition: ArrowPosition = ArrowPosition.MIDDLE)

Parameters

styleName

Name of the shape style

minMapScaleFactor

Minimum Map Scale Factor expressed in meters / logical pixel (0: unlimited)

maxMapScaleFactor

Maximum Map Scale Factor expressed in meters / logical pixel (0: unlimited)

visible

Visibility status of this Polyline Style

color

ARGB color (default is transparent, meaning that the polyline is not visible if no color is specified)

borderColor

Optional border (ARGB) color

centerColor

Optional center (ARGB) color

width

Pen width (in pixels or real units depending on realUnits)

realUnits

Specifies whether the width should be expressed either in pixels (false) or in real units (true).

dashStyle

the DashStyle of the polyline (default is DashStyle.SOLID

halfWidthStyle

you can choose to draw half of the polyline (see HalfWidthStyle for available values)

arrowWidth

Width of the arrow (in pixels or real units, defined by arrowRealUnits)

arrowRealUnits

Specifies whether the Arrow Width should be expressed either in pixels (false) or in real units (true). Default value is false

arrowColor

ARGB color of the arrow (transparent by default)

arrowDirection

Specifies the arrow direction (default value is ArrowDirection.TO)

arrowFilled

Specifies whether arrows must be filled. (default value is true)

arrowStyle

Specifies whether arrows have to be drawn with a shaft or just a head (default value is ArrowStyle.HEAD_ONLY)

arrowPosition

Specifies the position of arrows (default value is ArrowPosition.MIDDLE)