YMKArrow

class YMKArrow : NSObject

The arrow element.

Summary

Properties

var positionYMKPolylinePosition { get }
Arrow center

var fillColor: UIColor { get set }
Arrow fill color

var outlineColor: UIColor { get set }
Color of the arrow's outline

var outlineWidth: Float { get set }
The width of the outline in units

var length: Float { get set }
The overall length of the arrow (including the tip) in units

var isVisible: Bool { get set }
Arrow visibility

var triangleHeight: Float { get set }
Describes height of the arrowhead in units

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

Properties

position

var position: YMKPolylinePosition { get }

Arrow center.


fillColor

var fillColor: UIColor { get set }

Arrow fill color.


outlineColor

var outlineColor: UIColor { get set }

Color of the arrow's outline. Default: white.


outlineWidth

var outlineWidth: Float { get set }

The width of the outline in units. Default: 2.


length

var length: Float { get set }

The overall length of the arrow (including the tip) in units. The size of a unit is equal to the size of a pixel at the current zoom level when the camera tilt is equal to 0 and the scale factor is equal to 1.


isVisible

var isVisible: Bool { get set }

Arrow visibility. Default: true.


triangleHeight

var triangleHeight: Float { get set }

Describes height of the arrowhead in units. Default: 0.2 * length.


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.


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