目录

HPolylineView

Class Info

@interface HPolylineView : HOverlayPathView

View corresponding to the HPolyline object.

Public Constructor Summary

Constructor Name

(instancetype) - initWithPolyline:

Generates a polyline view based on the specified HPolyline object.

Public Property Summary

Qualifier and Type

Property Name and Description

@property(nonatomic, strong) UIColor *

borderColor

Stroke color. If the width is 0, there is no stroke.

@property(nonatomic, assign) CGFloat

borderWidth

Stroke width, in points. If the width is 0, there is no stroke.

@property (nonatomic, readonly) HPolyline *

polyline

Associated HPolyline object.

@property(nonatomic, strong) HText *

text

Polyline name attribute. Different names can be displayed for each segment of the polyline. The level is the same as that of the POI label. Ensure that HTextStyle priority in the text displayed on top is set to HTextPriority_High, and the displayLevel value of the corresponding overlay view is HOverlayLevelAboveRoads or HOverlayLevelAboveBuildings.

Public Constructors

[h2]initWithPolyline:

Constructor

- (instancetype)initWithPolyline:(HPolyline *)polyline

Generates a polyline view based on the specified HPolyline object.

Parameters

Name

Description

polyline

Specified HPolyline.

Returns

Type

Description

instancetype

Generated polyline view.