Class YMKArrow

The arrow element.

Properties

fillColor

Arrow fill color.

length

The overall length of the arrow (including the tip) in units.

outlineColor

Color of the arrow's outline.

outlineWidth

The width of the outline in units.

position

Arrow center.

triangleHeight

Describes height of the arrowhead in units.

valid

Tells if this object is valid or no.

visible

Arrow visibility.

Property Detail

fillColor

(assign, readwrite) UIColor * fillColor

Arrow fill color.

length

(assign, readwrite) float length

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.

outlineColor

(assign, readwrite) UIColor * outlineColor

Color of the arrow's outline.

Default: white.

outlineWidth

(assign, readwrite) float outlineWidth

The width of the outline in units.

Default: 2.

position

(assign, readwrite) YMKPolylinePosition * position

Arrow center.

triangleHeight

(assign, readwrite) float triangleHeight

Describes height of the arrowhead in units.

Default: 0.2 * length.

valid

(assign, readonly, getter=isValid) BOOL valid

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.

visible

(assign, readwrite, getter=isVisible) BOOL visible

Arrow visibility.

Default: true.