TencentMapSDK_iOS_3D_v6.7.0

QPolygonView.h
1 //
2 // QPolygonView.h
3 // QMapKit
4 //
5 // Created by fan on 2017/5/21.
6 // Copyright © 2017年 tencent. All rights reserved.
7 //
8
9 #import "QPolygon.h"
10 #import "QOverlayPathView.h"
11
17 @interface QPolygonView : QOverlayPathView
18
22 @property (nonatomic, readonly) QPolygon *polygon;
23
27 @property (nonatomic, assign) QOverlayStrokeType lineType;
28
33 @property (nonatomic, copy) NSArray<NSNumber *> *lineDashPattern;
34
38 @property (nonatomic, assign) CGFloat textureGap;
39
44 @property (nonatomic, strong) UIImage *styleTextureImage;
45
49 @property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled;
50
58 - (instancetype)initWithPolygon:(QPolygon *)polygon;
59
60
61 @end
QPolygonView
此类是QPolygon的显示多边形View
Definition: QPolygonView.h:18
QPolygonView::userInteractionEnabled
BOOL userInteractionEnabled
是否响应点击. 默认YES
Definition: QPolygonView.h:49
QPolygonView::textureGap
CGFloat textureGap
纹理间距
Definition: QPolygonView.h:38
QPolygonView::lineType
QOverlayStrokeType lineType
polygon虚线描边样式, 默认为 QOverlayStrokeType_Default
Definition: QPolygonView.h:27
QOverlayPathView
该类提供基于几何路径的overlay
Definition: QOverlayPathView.h:17
QPolygonView::polygon
QPolygon * polygon
关联的QPolygon对象
Definition: QPolygonView.h:22
QPolygonView::styleTextureImage
UIImage * styleTextureImage
虚线描边纹理图片, 与QOverlayStrokeType_Dot搭配使用 图片为nil时，使用圆点样式
Definition: QPolygonView.h:44
QPolygon
面覆盖物
Definition: QPolygon.h:15
QPolygonView::lineDashPattern
NSArray< NSNumber * > * lineDashPattern
虚线描边间距比例 样式为QOverlayStrokeType_Dash时, lineDashPattern为实线和虚线的线长序列（元素个数必须是偶数）
Definition: QPolygonView.h:33