TencentNavKit

Instance Methods | Properties | List of all members
TNKRouteColorPalette Class Reference

导航路线颜色盘 More...

`#import <TNKRouteColorPalette.h>`

Inheritance diagram for TNKRouteColorPalette:

## Instance Methods
(instancetype) | - initWithSmoothColor:slowColor:verySlowColor:jamColor:eraseColor:unknownColor:
| 导航线在路况下的颜色配置 More...

## Properties
UIColor * | smoothColor
| 通畅颜色 More...
UIColor * | slowColor
| 缓行颜色 More...
UIColor * | verySlowColor
| 堵塞颜色 More...
UIColor * | jamColor
| 严重堵塞颜色 More...
UIColor * | eraseColor
| 已走过的路颜色。 More...
UIColor * | unknownColor
| 未知路况颜色 More...

## Detailed Description

导航路线颜色盘

## Method Documentation

## ◆ 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
  导航路线颜色盘

## Property Documentation

## ◆ eraseColor

- (UIColor*) eraseColor
| readnonatomiccopy

已走过的路颜色。

Note
  不支持动态更新.

## ◆ jamColor

- (UIColor*) jamColor
| readnonatomiccopy

严重堵塞颜色

## ◆ slowColor

- (UIColor*) slowColor
| readnonatomiccopy

缓行颜色

## ◆ smoothColor

- (UIColor*) smoothColor
| readnonatomiccopy

通畅颜色

## ◆ unknownColor

- (UIColor*) unknownColor
| readnonatomiccopy

未知路况颜色

## ◆ verySlowColor

- (UIColor*) verySlowColor
| readnonatomiccopy

堵塞颜色

The documentation for this class was generated from the following file:

- TNKRouteColorPalette.h