Class Info |
|---|
@interface HTexturePolylineView : HPolylineView Texture polyline view. |
Qualifier and Type | Method Name and Description |
|---|---|
void | eraseFromStartToCurrentPoint:searchFrom:toColor: Grays the path color from the start point to the coordinate point. |
Qualifier and Type | Property Name and Description |
|---|---|
@property (nonatomic, assign, getter=isDrawSymbol) BOOL | drawSymbol Indicates whether to draw an arrow symbol. |
@property (nonatomic, copy) NSArray<HSegmentColor *> * | segmentColor Segment color. If HTextureLineDrawType_ColorLine is valid, the segment color can be modified in real time. Currently, 15 different color pairs are supported. |
Method |
|---|
- (void)eraseFromStartToCurrentPoint:(CLLocationCoordinate2D)coordinate searchFrom:(int)pointIndex toColor:(BOOL)clearColor Grays the path color from the start point to the coordinate point. This method is valid for HTextureLineDrawType_SliceAsBackground and HTextureLineDrawType_ColorLine. |
Parameters
Name | Description |
|---|---|
coordinate | Coordinate point where erasing ends. |
pointIndex | Index of the start point of the line segment where the end point is located. |
clearColor | Indicates whether to erase the path color or gray it.
|