导航路线颜色盘
More...
#import <TNKRouteColorPalette.h>
◆ initWithSmoothColor:slowColor:verySlowColor:jamColor:eraseColor:unknownColor:
| - (instancetype) initWithSmoothColor: |
|
(UIColor *__nullable) |
smoothColor |
| slowColor: |
|
(UIColor *__nullable) |
slowColor |
| verySlowColor: |
|
(UIColor *__nullable) |
verySlowColor |
| jamColor: |
|
(UIColor *__nullable) |
jamColor |
| eraseColor: |
|
(UIColor *__nullable) |
eraseColor |
| unknownColor: |
|
(UIColor *__nullable) |
unknownColor |
|
|
| |
导航线在路况下的颜色配置
- Parameters
-
| smoothColor | 通畅颜色 |
| slowColor | 缓行颜色 |
| verySlowColor | 堵塞颜色 |
| jamColor | 严重堵塞颜色 |
| eraseColor | 已走过的路颜色. 目前不支持运行时更新. |
| unknownColor | 未知路况颜色 |
- Returns
- 导航路线颜色盘
◆ eraseColor
◆ jamColor
◆ slowColor
◆ smoothColor
◆ unknownColor
| - (UIColor*) unknownColor |
|
readnonatomiccopy |
◆ verySlowColor
| - (UIColor*) verySlowColor |
|
readnonatomiccopy |
The documentation for this class was generated from the following file: