TencentNavKit

TNKRouteColorPalette.h
Go to the documentation of this file.
1//
2// TNKCarRouteColorPalette.h
3// TencentNavKit
4//
5// Created by tabsong on 2022/1/4.
6// Copyright © 2022 Tencent. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <UIKit/UIColor.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
15@interface TNKRouteColorPalette : NSObject
16
27- (instancetype)initWithSmoothColor:(UIColor * __nullable)smoothColor
28 slowColor:(UIColor * __nullable)slowColor
29 verySlowColor:(UIColor * __nullable)verySlowColor
30 jamColor:(UIColor * __nullable)jamColor
31 eraseColor:(UIColor * __nullable)eraseColor
32 unknownColor:(UIColor * __nullable)unknownColor;
33
37@property(nullable, nonatomic, copy, readonly) UIColor *smoothColor;
38
42@property(nullable, nonatomic, copy, readonly) UIColor *slowColor;
43
47@property(nullable, nonatomic, copy, readonly) UIColor *verySlowColor;
48
52@property(nullable, nonatomic, copy, readonly) UIColor *jamColor;
53
58@property(nullable, nonatomic, copy, readonly) UIColor *eraseColor;
59
63@property(nullable, nonatomic, copy, readonly) UIColor *unknownColor;
64
65
66@end
67
68NS_ASSUME_NONNULL_END
TNKRouteColorPalette
导航路线颜色盘
Definition: TNKRouteColorPalette.h:16
TNKRouteColorPalette::eraseColor
UIColor * eraseColor
已走过的路颜色。
Definition: TNKRouteColorPalette.h:58
TNKRouteColorPalette::smoothColor
UIColor * smoothColor
通畅颜色
Definition: TNKRouteColorPalette.h:37
TNKRouteColorPalette::jamColor
UIColor * jamColor
严重堵塞颜色
Definition: TNKRouteColorPalette.h:52
TNKRouteColorPalette::slowColor
UIColor * slowColor
缓行颜色
Definition: TNKRouteColorPalette.h:42
TNKRouteColorPalette::verySlowColor
UIColor * verySlowColor
堵塞颜色
Definition: TNKRouteColorPalette.h:47
TNKRouteColorPalette::unknownColor
UIColor * unknownColor
未知路况颜色
Definition: TNKRouteColorPalette.h:63