TencentMapSDK_iOS_3D_v6.7.0

QMaskingLayerOutlineArea.h
1 //
2 // QMaskingLayerOutlineArea.h
3 // QMapKit
4 //
5 // Created by halldwang on 2025/8/15.
6 // Copyright © 2025 tencent. All rights reserved.
7 //
8
9 #import "QPolygonView.h"
10
11 NS_ASSUME_NONNULL_BEGIN
12
14 @interface QMaskingLayerOutlineArea : NSObject {
15 @package
16 QMapPoint *_points;
17 NSUInteger _pointCount;
18 QMapRect _boundingRect;
19 CLLocationCoordinate2D *_coordinates;
20 }
21
27 - (instancetype)initWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count buffer:(CGFloat)buffer;
28
34 - (instancetype)initWithPoints:(const QMapPoint *)points count:(NSUInteger)count buffer:(CGFloat)buffer;
35
39 @property (nonatomic, readonly) QMapPoint *points;
40
44 @property (nonatomic, readonly) NSUInteger pointCount;
45
49 @property (nonatomic, readonly) CLLocationCoordinate2D *coordinates;
50
51
53 @property (nonatomic, assign) CGFloat buffer;
54
55 @end
56
57
58 NS_ASSUME_NONNULL_END
QMaskingLayerOutlineArea
非蒙层区域的轮廓配置
Definition: QMaskingLayerOutlineArea.h:14
QMaskingLayerOutlineArea::coordinates
CLLocationCoordinate2D * coordinates
坐标点数组 (CLLocationCoordinate2D 格式)
Definition: QMaskingLayerOutlineArea.h:49
QMaskingLayerOutlineArea::points
QMapPoint * points
坐标点数组
Definition: QMaskingLayerOutlineArea.h:39
QMaskingLayerOutlineArea::buffer
CGFloat buffer
buffer 向外扩展区域，>= 0
Definition: QMaskingLayerOutlineArea.h:53
QMapRect
平面投影矩形结构定义
Definition: QGeometry.h:92
QMapPoint
平面投影坐标结构定义
Definition: QGeometry.h:74
QMaskingLayerOutlineArea::pointCount
NSUInteger pointCount
坐标点个数
Definition: QMaskingLayerOutlineArea.h:44