BaiduMap_IOSSDK_v6.6.7_Docs 6.6.7

BMKPolygonView.h
浏览该文件的文档.
1 /*
2 * BMKPolygonView.h
3 * BMapKit
4 *
5 * Copyright 2011 Baidu Inc. All rights reserved.
6 *
7 */
8
9 #import "BMKGeometryView.h"
10 #import "BMKPolygon.h"
11
12
13 NS_ASSUME_NONNULL_BEGIN
15 @interface BMKPolygonView : BMKGeometryView
16
20 - (nullable instancetype)initWithPolygon:(BMKPolygon *)polygon;
21
23 @property (nonatomic, readonly) BMKPolygon *polygon;
24
26 @property (assign, nonatomic) BOOL isClickable;
27
29 @property (assign, nonatomic) BOOL isHoleClickable;
30
32 @property (assign, nonatomic) NSInteger holeClickedIndex;
33
36 @property (nonatomic, assign) BMKLineBloomMode lineBloomMode;
37
39 @property (nonatomic, assign) BMKLineBloomDirection lineBloomDirection;
40
42 @property (nonatomic, assign) CGFloat lineBloomWidth;
43
45 @property (nonatomic, assign) CGFloat lineBloomAlpha;
46
50 @property (nonatomic, assign) CGFloat lineBloomGradientASPeed;
51
55 @property (nonatomic, assign) int lineBloomBlurTimes;
56
57 @end
58 NS_ASSUME_NONNULL_END
BMKGeometryView
该类定义了一个用opengl绘制geometry的基类
Definition: BMKGeometryView.h:14
BMKPolygonView::lineBloomMode
BMKLineBloomMode lineBloomMode
Definition: BMKPolygonView.h:36
BMKLineBloomDirection
BMKLineBloomDirection
line发光方向
Definition: BMKLineDrawType.h:61
BMKPolygonView::isHoleClickable
BOOL isHoleClickable
镂空区域是否可点击，默认NO：点中镂空区域时不触发该overlay的点击回调
Definition: BMKPolygonView.h:29
BMKPolygon.h
BMKPolygonView::holeClickedIndex
NSInteger holeClickedIndex
isHoleClickable为YES时，触发回调的镂空索引值，默认-1:点中的是非镂空区域;索引对应polygon.hollowShapes,倒序遍历，即优先触发后添加的镂空
Definition: BMKPolygonView.h:32
BMKPolygonView::isClickable
BOOL isClickable
是否可点击，默认NO
Definition: BMKPolygonView.h:26
BMKPolygon
此类用于定义一个多边形区域
Definition: BMKPolygon.h:15
BMKPolygonView::polygon
BMKPolygon * polygon
该View对应的多边形数据
Definition: BMKPolygonView.h:23
BMKPolygonView::lineBloomWidth
CGFloat lineBloomWidth
发光处宽度，默认 0.0f；since 6.6.3
Definition: BMKPolygonView.h:42
BMKPolygonView::lineBloomDirection
BMKLineBloomDirection lineBloomDirection
默认向两侧发光，kBMKLineBloomDirectionAround； since 6.6.3
Definition: BMKPolygonView.h:39
BMKPolygonView::lineBloomBlurTimes
int lineBloomBlurTimes
Definition: BMKPolygonView.h:55
BMKPolygonView::lineBloomAlpha
CGFloat lineBloomAlpha
发光处透明度，取值范围 [0 ~ 255]，默认 255.0f；since 6.6.3
Definition: BMKPolygonView.h:45
BMKLineBloomMode
BMKLineBloomMode
line发光模式
Definition: BMKLineDrawType.h:52
BMKPolygonView::lineBloomGradientASPeed
CGFloat lineBloomGradientASPeed
Definition: BMKPolygonView.h:50
BMKPolygonView
此类用于定义一个多边形View
Definition: BMKPolygonView.h:16
BMKGeometryView.h