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;
133 @property (nonatomic, copy) NSArray<QSegmentStyle *> *segmentStyle;
141 @property (nonatomic, assign, getter=isDrawSymbol) BOOL drawSymbol;
148 @property (nonatomic, strong) UIImage *symbolImage;
155 @property (nonatomic, assign) CGFloat symbolGap;
165 @property (nonatomic, strong) UIColor *eraseColor;
175 - (void)eraseFromStartToCurrentPoint:(CLLocationCoordinate2D)coordinate searchFrom:(
int)pointIndex toColor:(BOOL)clearColor;
183 @property (nonatomic, assign) CGFloat footprintStep;
197 - (void)setTurnArrowAtSegmentIndex:(
int)index;
202 - (void)clearTurnArrow;
207 - (void)setTurnArrowColor:(UIColor*)filler borderColor:(UIColor*)border DEPRECATED_ATTRIBUTE;