YMKArrowStyle

class YMKArrowStyle : NSObject

Undocumented

Summary

Instance methods

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

func setLengthWithLength( length: YMKStylingProportionFunction_)
Overall length of the arrow (including the 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

setOutlineWidthWithOutlineWidth(_:)

func setOutlineWidthWithOutlineWidth( outlineWidth: YMKStylingProportionFunction_)

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


setLengthWithLength(_:)

func setLengthWithLength( length: YMKStylingProportionFunction_)

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


setTriangleHeightWithTriangleHeight(_:)

func setTriangleHeightWithTriangleHeight( triangleHeight: YMKStylingProportionFunction_)

Height of the arrow tip in units. Default: constantValue: 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.


Предыдущая
Следующая