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;
106 @property (nonatomic, assign) BOOL useGradient;
115 @property (nonatomic, copy) NSArray<QSegmentColor *> *segmentColor;
124 @property (nonatomic, strong) UIImage *styleTextureImage;
132 @property (nonatomic, copy) NSArray<QSegmentStyle *> *segmentStyle;
140 @property (nonatomic, assign, getter=isDrawSymbol) BOOL drawSymbol;
147 @property (nonatomic, strong) UIImage *symbolImage;
154 @property (nonatomic, assign) CGFloat symbolGap;
164 @property (nonatomic, strong) UIColor *eraseColor;
174 - (void)eraseFromStartToCurrentPoint:(CLLocationCoordinate2D)coordinate searchFrom:(
int)pointIndex toColor:(BOOL)clearColor;
182 @property (nonatomic, assign) CGFloat footprintStep;
196 - (void)setTurnArrowAtSegmentIndex:(
int)index;
201 - (void)clearTurnArrow;
206 - (void)setTurnArrowColor:(UIColor*)filler borderColor:(UIColor*)border DEPRECATED_ATTRIBUTE;