YMKArrowStyle

Важно

This feature is available in the NaviKit SDK version.

@interface YMKArrowStyle : NSObject

Summary

Instance methods

- (void)setOutlineWidthWithOutlineWidth:
    (nonnull YMKStylingProportionFunction *)outlineWidth;

Width of the arrow's outline in units

- (void)setLengthWithLength:(nonnull YMKStylingProportionFunction *)length;
Overall length of the arrow (including the tip) in units

- (void)setTriangleHeightWithTriangleHeight:
    (nonnull YMKStylingProportionFunction *)triangleHeight;

Height of the arrow tip in units

- (void)setFillColorWithFillColor:(nonnull UIColor *)fillColor;
Fill color of the arrow

- (void)setOutlineColorWithOutlineColor:(nonnull UIColor *)outlineColor;
Color of the arrow's outline

- (void)setMinZoomVisibleWithMinZoom:(nullable NSNumber *)minZoom;
Minimal zoom for maneuvers to be visible

Properties

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

Instance methods

setOutlineWidthWithOutlineWidth:

- (void)setOutlineWidthWithOutlineWidth:
    (nonnull YMKStylingProportionFunction *)outlineWidth;

Width of the arrow's outline in units. Default: 0


setLengthWithLength:

- (void)setLengthWithLength:(nonnull YMKStylingProportionFunction *)length;

Overall length of the arrow (including the tip) in units. Default: constantValue: 90


setTriangleHeightWithTriangleHeight:

- (void)setTriangleHeightWithTriangleHeight:
    (nonnull YMKStylingProportionFunction *)triangleHeight;

Height of the arrow tip in units. Default: constantValue: 24


setFillColorWithFillColor:

- (void)setFillColorWithFillColor:(nonnull UIColor *)fillColor;

Fill color of the arrow. Default: RGBA 0xFFFFFFFF.


setOutlineColorWithOutlineColor:

- (void)setOutlineColorWithOutlineColor:(nonnull UIColor *)outlineColor;

Color of the arrow's outline. Default: RGBA 0x000000FF.


setMinZoomVisibleWithMinZoom:

- (void)setMinZoomVisibleWithMinZoom:(nullable NSNumber *)minZoom;

Minimal zoom for maneuvers to be visible. Default: null


Properties

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.


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