YMKArrowStyle

Warning

This feature is available in the NaviKit SDK version.

class YMKArrowStyle : NSObject

Summary

Instance methods

func setOutlineWidth()
Width of the arrow's outline in units

func setOutlineWidthWithOutlineWidth(_ outlineWidth: YMKStylingProportionFunction)
Width of the arrow's outline in units

func setLength()
Overall length of the arrow (including the tip) in units

func setLengthWithLength(_ length: YMKStylingProportionFunction)
Overall length of the arrow (including the tip) in units

func setTriangleHeight()
Height of the arrow tip in units

func setTriangleHeightWithTriangleHeight(_ triangleHeight: YMKStylingProportionFunction)
Height of the arrow tip in units

func setFillColorWithFill(_ fillColor: UIColor)
Fill color of the arrow

func setOutlineColorWithOutlineColor(_ outlineColor: UIColor)
Color of the arrow's outline

func setMinZoomVisibleWithMinZoom(_ minZoom: NSNumber?)
Minimal zoom for maneuvers to be visible

Properties

var isValid: Bool { get }
Tells if this object is valid or no

Instance methods

setOutlineWidth()

func setOutlineWidth()

Width of the arrow's outline in units. Default: 0


setOutlineWidthWithOutlineWidth(_:)

func setOutlineWidthWithOutlineWidth(_ outlineWidth: YMKStylingProportionFunction)

Width of the arrow's outline in units. Default: 0


setLength()

func setLength()

Overall length of the arrow (including the tip) in units. Default: 90


setLengthWithLength(_:)

func setLengthWithLength(_ length: YMKStylingProportionFunction)

Overall length of the arrow (including the tip) in units. Default: 90


setTriangleHeight()

func setTriangleHeight()

Height of the arrow tip in units. Default: 24


setTriangleHeightWithTriangleHeight(_:)

func setTriangleHeightWithTriangleHeight(_ triangleHeight: YMKStylingProportionFunction)

Height of the arrow tip in units. Default: 24


setFillColorWithFill(_:)

func setFillColorWithFill(_ fillColor: UIColor)

Fill color of the arrow. Default: RGBA 0xFFFFFFFF.


setOutlineColorWithOutlineColor(_:)

func setOutlineColorWithOutlineColor(_ outlineColor: UIColor)

Color of the arrow's outline. Default: RGBA 0x000000FF.


setMinZoomVisibleWithMinZoom(_:)

func setMinZoomVisibleWithMinZoom(_ minZoom: NSNumber?)

Minimal zoom for maneuvers to be visible. Default: null


Properties

isValid

var isValid: Bool { get }

Tells if this object is valid or no. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.