YMKArrow

@interface YMKArrow : NSObject

The arrow element.

Summary

Properties

@property (nonatomic, readonly, nonnull) YMKPolylinePosition *position;
Arrow center

@property (nonatomic, assign, unsafe_unretained, readwrite, nonnull)
    UIColor *fillColor;

Arrow fill color

@property (nonatomic, assign, unsafe_unretained, readwrite, nonnull)
    UIColor *outlineColor;

Color of the arrow's outline

@property (nonatomic, assign, unsafe_unretained, readwrite) float outlineWidth;
The width of the outline in units

@property (nonatomic, assign, unsafe_unretained, readwrite) float length;
The overall length of the arrow (including the tip) in units

@property (nonatomic, assign, unsafe_unretained, readwrite, getter=isVisible)
    BOOL visible;

Arrow visibility

@property (nonatomic, assign, unsafe_unretained, readwrite) float triangleHeight;
Describes height of the arrowhead in units

@property (nonatomic, readonly, getter=isValid) BOOL valid;
Tells if this object is valid or no

Properties

position

@property (nonatomic, readonly, nonnull) YMKPolylinePosition *position;

Arrow center.


fillColor

@property (nonatomic, assign, unsafe_unretained, readwrite, nonnull)
    UIColor *fillColor;

Arrow fill color.


outlineColor

@property (nonatomic, assign, unsafe_unretained, readwrite, nonnull)
    UIColor *outlineColor;

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


outlineWidth

@property (nonatomic, assign, unsafe_unretained, readwrite) float outlineWidth;

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


length

@property (nonatomic, assign, unsafe_unretained, 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.


visible

@property (nonatomic, assign, unsafe_unretained, readwrite, getter=isVisible)
    BOOL visible;

Arrow visibility. Default: true.


triangleHeight

@property (nonatomic, assign, unsafe_unretained, readwrite) float triangleHeight;

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


valid

@property (nonatomic, 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.