TencentMapSDK_iOS_3D_v6.8.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
11NS_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
58NS_ASSUME_NONNULL_END
非蒙层区域的轮廓配置
定义 QMaskingLayerOutlineArea.h:14
CLLocationCoordinate2D * coordinates
坐标点数组 (CLLocationCoordinate2D 格式)
定义 QMaskingLayerOutlineArea.h:49
CGFloat buffer
buffer 向外扩展区域,>= 0
定义 QMaskingLayerOutlineArea.h:53
NSUInteger pointCount
坐标点个数
定义 QMaskingLayerOutlineArea.h:44
QMapPoint * points
坐标点数组
定义 QMaskingLayerOutlineArea.h:39
平面投影坐标结构定义
定义 QGeometry.h:74
平面投影矩形结构定义
定义 QGeometry.h:92