Class Info |
|---|
@interface HPolygonView : HOverlayPathView Polygon view corresponding to HPolygon. |
Constructor Name |
|---|
(instancetype) - initWithPolygon: Generates a polygon view based on the specified polygon. |
Qualifier and Type | Property Name and Description |
|---|---|
@property (nonatomic, copy) NSArray<NSNumber *> * | lineDashPattern Dashed line pattern. When the style is HOverlayStrokeType_Dash, lineDashPattern is a sequence of solid lines and dotted lines. (The number of elements must be an even number.) |
@property (nonatomic, assign) HOverlayStrokeType | lineType Polygon stroke style. The default value is HOverlayStrokeType_Default. |
@property (nonatomic, readonly) HPolygon * | polygon Associated HPolygon object. |
@property (nonatomic, assign) CGFloat | textureGap Texture gap. |
Constructor |
|---|
- (instancetype)initWithPolygon:(HPolygon *)polygon Generates a polygon view based on the specified polygon. |
Parameters
Name | Description |
|---|---|
polygon | Specified polygon. |
Returns
Type | Description |
|---|---|
instancetype | Generated polygon view. |