TencentNavKit
TNKRouteLineConfig.h
Go to the documentation of this file.
1//
2// TNKCarRouteColorConfig.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 <TencentNavKit/TNKRouteColorPalette.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
15@interface TNKRouteLineConfig : NSObject
16
25- (instancetype)initWithDayFillColorPalette:(TNKRouteColorPalette * __nullable)dayFillColorPalette
26 dayStrokeColorPalette:(TNKRouteColorPalette * __nullable)dayStrokeColorPalette
27 nightFillColorPalette:(TNKRouteColorPalette * __nullable)nightFillColorPalette
28 nightStrokeColorPalette:(TNKRouteColorPalette * __nullable)nightStrokeColorPalette;
29
33@property (nonatomic, strong, readonly) TNKRouteColorPalette *dayFillColorPalette;
34
38@property (nonatomic, strong, readonly) TNKRouteColorPalette *dayStrokeColorPalette;
39
43@property (nonatomic, strong, readonly) TNKRouteColorPalette *nightFillColorPalette;
44
48@property (nonatomic, strong, readonly) TNKRouteColorPalette *nightStrokeColorPalette;
49
53@property (nonatomic, assign) float width;
54
55@end
56
57NS_ASSUME_NONNULL_END
导航路线颜色盘
Definition: TNKRouteColorPalette.h:16
导航路线颜色配置.
Definition: TNKRouteLineConfig.h:16
TNKRouteColorPalette * dayStrokeColorPalette
白天导航路线描边色颜色盘
Definition: TNKRouteLineConfig.h:38
TNKRouteColorPalette * nightFillColorPalette
夜间导航路线填充色颜色盘
Definition: TNKRouteLineConfig.h:43
TNKRouteColorPalette * nightStrokeColorPalette
夜间导航路线描边色颜色盘
Definition: TNKRouteLineConfig.h:48
float width
设置地图绘制路线的线宽. 默认值为14。有效范围[0,30]
Definition: TNKRouteLineConfig.h:53
TNKRouteColorPalette * dayFillColorPalette
白天导航路线填充色颜色盘
Definition: TNKRouteLineConfig.h:33