MMKArrow
class MMKArrow : NSObject |
The arrow element.
Summary
Properties
var position: MMKPolylinePosition { get } |
var fillColor: UIColor { get set } |
var outlineColor: UIColor { get set } |
var outlineWidth: Float { get set } |
var length: Float { get set } |
var isVisible: Bool { get set } |
var triangleHeight: Float { get set } |
var isValid: Bool { get } |
Properties
position
var position: MMKPolylinePosition { 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.