MMKSpeedControlHighlightStyle
Warning
This feature is available in the NaviKit SDK version.
|
@interface MMKSpeedControlHighlightStyle : NSObject |
Summary
Class methods
|
+ (nonnull MMKSpeedControlHighlightStyle *)speedControlHighlightStyleWithStrokeColor:(nonnull UIColor *)strokeColor |
Properties
|
@property (nonatomic, readonly, nonnull) UIColor *strokeColor; |
|
@property (nonatomic, readonly) float strokeWidth; |
|
@property (nonatomic, readonly, nonnull) UIColor *fillColor; |
|
@property (nonatomic, readonly) float maximumRadius; |
|
@property (nonatomic, readonly) NSTimeInterval animationDuration; |
|
@property (nonatomic, readonly) CGPoint pulsationCenter; |
Class methods
speedControlHighlightStyleWithStrokeColor:strokeWidth:fillColor:maximumRadius:animationDuration:pulsationCenter:
|
+ (nonnull MMKSpeedControlHighlightStyle *)speedControlHighlightStyleWithStrokeColor:(nonnull UIColor *)strokeColor |
Properties
strokeColor
|
@property (nonatomic, readonly, nonnull) UIColor *strokeColor; |
strokeWidth
|
@property (nonatomic, readonly) float strokeWidth; |
Sets the stroke width in units. The size of a unit is equal to the size of a pixel at the current zoom level when the camera position's tilt is equal to 0 and the scale factor is equal to 1.
fillColor
|
@property (nonatomic, readonly, nonnull) UIColor *fillColor; |
maximumRadius
|
@property (nonatomic, readonly) float maximumRadius; |
Sets the maximum circle radius in units.
animationDuration
|
@property (nonatomic, readonly) NSTimeInterval animationDuration; |
Sets the time it takes for the circle to reach its maximum size.
pulsationCenter
|
@property (nonatomic, readonly) CGPoint pulsationCenter; |
Pulsation center on road event pin image. (0, 0) is top left and (1.0, 1.0) is bottom right.