|
BaiduMap_IOSSDK_v6.6.2_Docs 6.6.2
|
此类用于定义一个多边形View 更多...
#include <BMKPolygonView.h>
属性 | |
| BMKPolygon * | polygon |
| 该View对应的多边形数据 | |
| BOOL | isClickable |
| 是否可点击,默认NO | |
| BOOL | isHoleClickable |
| 镂空区域是否可点击,默认NO:点中镂空区域时不触发该overlay的点击回调 | |
| NSInteger | holeClickedIndex |
| isHoleClickable为YES时,触发回调的镂空索引值,默认-1:点中的是非镂空区域;索引对应polygon.hollowShapes,倒序遍历,即优先触发后添加的镂空 | |
属性 继承自 BMKGeometryView | |
| UIColor * | fillColor |
| UIColor * | strokeColor |
| CGFloat | lineWidth |
| 画笔宽度,默认为0 | |
| BMKLineDashType | lineDashType |
| 虚线类型, since 5.0.0,默认kBMKLineDashTypeNone (仅支持颜色虚线) | |
属性 继承自 BMKOverlayGLBasicView | |
| UIImage * | textureImage |
| BOOL | keepScale |
| 纹理图片是否缩放,默认NO | |
属性 继承自 BMKOverlayView | |
| id< BMKOverlay > | overlay |
| 关联的overlay对象 | |
| GLuint | strokeTextureID |
| 关联的纹理对象ID | |
额外继承的成员函数 | ||
Protected 属性 继承自 BMKOverlayView | ||
| package id< BMKOverlay > | _overlay | |
| BMKMapRect | _boundingMapRect | |
| CGAffineTransform | _mapTransform | |
| id | _geometryDelegate | |
| id | _canDrawCache | |
| BOOL | keepScale | |
| CFTimeInterval | _lastTile | |
| CFRunLoopTimerRef | _scheduledScaleTimer | |
| struct { | ||
| unsigned int keepAlive:1 | ||
| unsigned int levelCrossFade:1 | ||
| unsigned int drawingDisabled:1 | ||
| unsigned int usesTiledLayer:1 | ||
| } | _flags | |
此类用于定义一个多边形View
| - (nullable instancetype) initWithPolygon: | (BMKPolygon *) | polygon |
根据指定的多边形生成一个多边形View
| polygon | 指定的多边形数据对象 |
|
readwritenonatomicassign |
isHoleClickable为YES时,触发回调的镂空索引值,默认-1:点中的是非镂空区域;索引对应polygon.hollowShapes,倒序遍历,即优先触发后添加的镂空
|
readwritenonatomicassign |
是否可点击,默认NO
|
readwritenonatomicassign |
镂空区域是否可点击,默认NO:点中镂空区域时不触发该overlay的点击回调
|
readnonatomicassign |
该View对应的多边形数据