TencentMapSDK_iOS_3D_v6.7.0

QPolylineView.h
1 //
2 // QPolylineView.h
3 // QMapKit
4 //
5 // Created by fan on 2017/5/17.
6 // Copyright © 2017年 Tencent. All rights reserved.
7 //
8
9 #import "QOverlayPathView.h"
10 #import "QPolyline.h"
11 #import "QText.h"
12
13 #pragma mark - QPolylineView
14
18 @interface QPolylineView : QOverlayPathView
19
23 @property (nonatomic, readonly) QPolyline *polyline;
24
32 - (instancetype)initWithPolyline:(QPolyline *)polyline;
33
37 @property(nonatomic, assign) CGFloat borderWidth;
38
42 @property(nonatomic, strong) UIColor *borderColor;
43
47 @property (nonatomic, copy) NSArray<NSNumber *> *lineDashPattern;
48
55 @property(nonatomic, strong) QText *text;
56
60 @property(nonatomic, assign) BOOL disableCollideLabel;
61
62 @end
63
QPolylineView::polyline
QPolyline * polyline
关联的QPolyline对象
Definition: QPolylineView.h:23
QPolylineView::borderWidth
CGFloat borderWidth
描边的宽度。 单位：Point. 宽度为0时无描边(描边宽度请小于lineWidth的一半)
Definition: QPolylineView.h:37
QPolylineView::disableCollideLabel
BOOL disableCollideLabel
当与底图上的POI/道路名 相交时，是否将其碰撞掉。默认为NO（碰撞掉）
Definition: QPolylineView.h:60
QPolylineView
此类是QPolyline用于显示多段线的view
Definition: QPolylineView.h:19
QPolylineView::borderColor
UIColor * borderColor
描边的颜色。 宽度为0时无描边
Definition: QPolylineView.h:42
QPolylineView::lineDashPattern
NSArray< NSNumber * > * lineDashPattern
实线和虚线的线长序列(元素个数必须是偶数)。默认为nil为实线
Definition: QPolylineView.h:47
QOverlayPathView
该类提供基于几何路径的overlay
Definition: QOverlayPathView.h:17
QPolyline
线覆盖物.
Definition: QPolyline.h:19
QPolylineView::text
QText * text
线的名字属性. 可为线的各子部分显示不同的名字，层级与POI label相同 @notes 需保证最上层显示的文本信息中QTextStyle priority为QTextPriority_High ...
Definition: QPolylineView.h:55
QText
此类用于显示文本信息, 层级与POI label相同 @notes 需保证最上层显示的文本信息中QTextStyle priority为QTextPriority_High 以及对应的overlayvi...
Definition: QText.h:83