MMKArrow
@interface MMKArrow : NSObject |
The arrow element.
Summary
Properties
@property (nonatomic, readonly, nonnull) MMKPolylinePosition *position; |
@property (nonatomic, assign, unsafe_unretained, readwrite, nonnull) |
@property (nonatomic, assign, unsafe_unretained, readwrite, nonnull) |
@property (nonatomic, assign, unsafe_unretained, readwrite) float outlineWidth; |
@property (nonatomic, assign, unsafe_unretained, readwrite) float length; |
@property (nonatomic, assign, unsafe_unretained, readwrite, getter=isVisible) |
@property (nonatomic, assign, unsafe_unretained, readwrite) float triangleHeight; |
@property (nonatomic, readonly, getter=isValid) BOOL valid; |
Properties
position
@property (nonatomic, readonly, nonnull) MMKPolylinePosition *position; |
Arrow center.
fillColor
@property (nonatomic, assign, unsafe_unretained, readwrite, nonnull) |
Arrow fill color.
outlineColor
@property (nonatomic, assign, unsafe_unretained, readwrite, nonnull) |
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) |
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.