TencentNavKit

TNKTurnArrowConfig.h
Go to the documentation of this file.
1//
2// TNKTurnArrowConfig.h
3// TencentNavKit
4//
5// Created by mol on 2023/3/14.
6// Copyright © 2023 Tencent. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <UIKit/UIKit.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
15@interface TNKTurnArrowConfig : NSObject
16
18@property (nonatomic, assign) BOOL hidden;
20@property (nonatomic, strong) UIColor *arrowColor;
22@property (nonatomic, strong) UIColor *borderColor;
24@property (nonatomic, strong) UIColor *shadowColor;
25// 是否为3D箭头，默认为YES
26@property (nonatomic, assign) BOOL is3D;
27// 箭头宽度与路线宽度的比值，默认为1
28@property (nonatomic, assign) CGFloat widthScale;
29
30@end
31
32NS_ASSUME_NONNULL_END
TNKTurnArrowConfig
转向箭头样式
Definition: TNKTurnArrowConfig.h:16
TNKTurnArrowConfig::shadowColor
UIColor * shadowColor
阴影颜色
Definition: TNKTurnArrowConfig.h:24
TNKTurnArrowConfig::borderColor
UIColor * borderColor
描边颜色
Definition: TNKTurnArrowConfig.h:22
TNKTurnArrowConfig::arrowColor
UIColor * arrowColor
箭头颜色
Definition: TNKTurnArrowConfig.h:20
TNKTurnArrowConfig::is3D
BOOL is3D
Definition: TNKTurnArrowConfig.h:26
TNKTurnArrowConfig::widthScale
CGFloat widthScale
Definition: TNKTurnArrowConfig.h:28
TNKTurnArrowConfig::hidden
BOOL hidden
是否隐藏路线上的转向箭头，默认为NO
Definition: TNKTurnArrowConfig.h:18