BaiduMap_IOSSDK_v7.2.0_Docs 7.2.0

构造函数 | 属性 | 所有成员列表
BMKCircleView类 参考

该类用于定义圆对应的View 更多...

`#import <BMKCircleView.h>`

类 BMKCircleView 继承关系图:

## 构造函数
(nullable instancetype) | - initWithCircle:
构造函数 继承自 BMKOverlayGLBasicView
(CGPathRef path) | - __deprecated_msg
| path对象 更多...
(BOOL lineDash) | - __deprecated_msg
| 是否为虚线样式，默认NO 更多...
(BOOL tileTexture) | - __deprecated_msg
| 是否纹理图片平铺绘制，默认NO 更多...
构造函数 继承自 BMKOverlayView
(nullable instancetype) | - initWithOverlay:
(GLuint) | - loadStrokeTextureImage:
(BOOL) | - loadStrokeTextureImages:
(void) | - setOverlayGeometryDelegate:
| 设置该overlay的GeometryDelegate 更多...
(CGPoint) | - pointForMapPoint:
(BMKMapPoint) | - mapPointForPoint:
(CGRect) | - rectForMapRect:
(BMKMapRect) | - mapRectForRect:
(BOOL) | - canDrawMapRect:zoomScale:
(void) | - drawMapRect:zoomScale:inContext:
(void) | - setNeedsDisplayInMapRect:
(void) | - renderLinesWithPoints:pointCount:strokeColor:lineWidth:looped:
(void) | - renderTexturedLinesWithPoints:pointCount:lineWidth:textureID:looped:
(void) | - renderLinesWithPoints:pointCount:strokeColor:lineWidth:looped:lineDashType:
(void) | - renderLinesWithPoints:pointCount:strokeColor:lineWidth:looped:lineDash:
(void) | - renderTexturedLinesWithPartPoints:lineWidth:textureIndexs:isFocus:
(void) | - renderTexturedLinesWithPartPoints:lineWidth:textureIndexs:isFocus:tileTexture:keepScale:
(void) | - renderTexturedLinesWithPoints:pointCount:lineWidth:textureID:strokeColor:looped:tileTexture:keepScale:
(void) | - renderTexturedPolyLineWithPoints:lineWidth:textureID:strokeColor:isFoucs:keepScale:lineJoinType:lineCapType:
(void) | - renderMultiTexturedPolyLineWithPartPoints:lineWidth:textureIndexs:isFoucs:keepScale:lineJoinType:lineCapType:
(void) | - renderDashPolyLineWithPoints:lineWidth:strokeColor:lineDashType:
(void) | - renderMultiDashPolyLineWithPartPoints:lineWidth:textureIndexs:lineDashType:
(void) | - renderRegionWithPoints:pointCount:fillColor:usingTriangleFan:
(void) | - renderATRegionWithPoint:pointCount:fillColor:usingTriangleFan:
(void) | - rendeCircleWithPoints:pointCount:lineWidth:fillColor:strokeColor:
(void) | - rendePolygonWithPoints:pointCount:lineWidth:fillColor:strokeColor:
(void) | - glRender

## 属性
BMKCircle * | circle
| 该View对应的圆 更多...
BOOL | isClickable
| 是否可点击，默认NO 更多...
BOOL | isHoleClickable
| 镂空区域是否可点击，默认NO：点中镂空区域时不触发该overlay的点击回调 更多...
NSInteger | holeClickedIndex
| isHoleClickable为YES时，触发回调的镂空索引值，默认-1:点中的是非镂空区域 更多...
BMKLineBloomMode | lineBloomMode
BMKLineBloomDirection | lineBloomDirection
| 默认向两侧发光，kBMKLineBloomDirectionAround； since 6.6.3 更多...
CGFloat | lineBloomWidth
| 发光处宽度，默认 0.0f；since 6.6.3 更多...
CGFloat | lineBloomAlpha
| 发光处透明度，取值范围 [0 ~ 255]，默认 255.0f；since 6.6.3 更多...
CGFloat | lineBloomGradientASPeed
int | lineBloomBlurTimes
属性 继承自 BMKGeometryView
UIColor * | fillColor
UIColor * | strokeColor
UIColor * | strokeColorProgressForward
| 加载绘制当前进度之前的部分的画笔颜色，不设置时当前进度之前的路线不显示，轨迹动画化使用 since 6.6.3 更多...
UIColor * | strokeColorProgressBackward
| 加载绘制当前进度之后的部分的画笔颜色，不设置时当前进度之后的路线不显示，轨迹动画化使用 since 6.6.3 更多...
BMKOverlaySizeType | widthType
| 画笔宽度类型，默认为BMKOverlaySizeAdapt 更多...
CGFloat | lineWidth
| 画笔宽度，默认为0 更多...
BMKLineDashType | lineDashType
| 虚线类型, since 5.0.0，默认kBMKLineDashTypeNone (仅支持颜色虚线) 更多...
属性 继承自 BMKOverlayGLBasicView
BMKVisibility | visibility
| 控件可见的状态,默认可见，BMKVisibilityVisible,since 6.6.6 更多...
UIImage * | textureImage
UIImage * | textureImageProgressForward
UIImage * | textureImageProgressBackward
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

## 函数文档

## ◆ initWithCircle:

- (nullable instancetype) initWithCircle: |  | (BMKCircle *) | circle |

根据指定圆生成对应的View

参数

  circle | 指定的圆

返回
  生成的View

## 属性说明

## ◆ circle

- (BMKCircle*) circle
| read nonatomic assign

该View对应的圆

## ◆ holeClickedIndex

- (NSInteger) holeClickedIndex
| read write nonatomic assign

isHoleClickable为YES时，触发回调的镂空索引值，默认-1:点中的是非镂空区域

## ◆ isClickable

- (BOOL) isClickable
| read write nonatomic assign

是否可点击，默认NO

## ◆ isHoleClickable

- (BOOL) isHoleClickable
| read write nonatomic assign

镂空区域是否可点击，默认NO：点中镂空区域时不触发该overlay的点击回调

## ◆ lineBloomAlpha

- (CGFloat) lineBloomAlpha
| read write nonatomic assign

发光处透明度，取值范围 [0 ~ 255]，默认 255.0f；since 6.6.3

## ◆ lineBloomBlurTimes

- (int) lineBloomBlurTimes
| read write nonatomic assign

模糊次数 since 6.6.3 取值范围 [1~10]，默认值为 1 注意：模糊发光模式下该属性生效

## ◆ lineBloomDirection

- (BMKLineBloomDirection) lineBloomDirection
| read write nonatomic assign

默认向两侧发光，kBMKLineBloomDirectionAround； since 6.6.3

## ◆ lineBloomGradientASPeed

- (CGFloat) lineBloomGradientASPeed
| read write nonatomic assign

透明度渐变速度 since 6.6.3 取值范围 [1.0f ~ 10.0f]，默认值为 5.0f 注意：渐变发光模式下该属性生效

## ◆ lineBloomMode

- (BMKLineBloomMode) lineBloomMode
| read write nonatomic assign

发光模式，仅支持颜色实折线；since 6.6.3 默认不发光，kBMKLineBloomModeNone

## ◆ lineBloomWidth

- (CGFloat) lineBloomWidth
| read write nonatomic assign

发光处宽度，默认 0.0f；since 6.6.3

该类的文档由以下文件生成:

- BaiduMapAPI_Map.framework/Headers/BMKCircleView.h