9 #import "QPolylineView.h" 65 @property (nonatomic, strong) UIColor *color;
69 @property (nonatomic, strong) UIColor *borderColor;
73 #pragma mark - QTexturePolylineView 80 typedef NS_ENUM(NSInteger, QTextureLineDrawType) {
81 QTextureLineDrawType_ColorLine = -1,
82 QTextureLineDrawType_SliceAsBackground,
83 QTextureLineDrawType_RepeatDraw,
84 QTextureLineDrawType_FootPrint,
100 @property (nonatomic, assign) QTextureLineDrawType drawType;
109 @property (nonatomic, copy) NSArray<QSegmentColor *> *segmentColor;
118 @property (nonatomic, strong) UIImage *styleTextureImage;
126 @property (nonatomic, copy) NSArray<QSegmentStyle *> *segmentStyle;
134 @property (nonatomic, assign, getter=isDrawSymbol) BOOL drawSymbol;
141 @property (nonatomic, strong) UIImage *symbolImage;
148 @property (nonatomic, assign) CGFloat symbolGap;
158 @property (nonatomic, strong) UIColor *eraseColor;
169 - (void)eraseFromStartToCurrentPoint:(CLLocationCoordinate2D)coordinate searchFrom:(
int)pointIndex toColor:(BOOL)clearColor;
177 @property (nonatomic, assign) CGFloat footprintStep;
191 - (void)setTurnArrowAtSegmentIndex:(
int)index;
196 - (void)clearTurnArrow;
201 - (void)setTurnArrowColor:(UIColor*)filler borderColor:(UIColor*)border;
QTexturePolylineView中各个子线段的颜色定义
Definition: QTexturePolylineView.h:51
具有丰富显示样式的线覆盖物
Definition: QTexturePolylineView.h:93
int endIndex
本线段的终点坐标点在坐标点串(QPolyline.points)的下标
Definition: QTexturePolylineView.h:23
QTexturePolylineView中各个子线段的样式定义
Definition: QTexturePolylineView.h:14
此类是QPolyline用于显示多段线的view
Definition: QPolylineView.h:18
int colorImageIndex
本线段显示的颜色下标。代表styleTextureImage图片或默认图片的所采用的行(1像素为单位)
Definition: QTexturePolylineView.h:44
int startIndex
本线段的起始坐标点在坐标点串(QPolyline.points)的下标. 从0开始
Definition: QTexturePolylineView.h:19
导航线相关的接口
Definition: QTexturePolylineView.h:184