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

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

#import <BMKCircleView.h>

类 BMKCircleView 继承关系图:
BMKOverlayGLBasicView BMKOverlayView

构造函数

(id) - initWithCircle:
 
- 构造函数 继承自 BMKOverlayView
(void) - setOverlayGeometryDelegate:
 设置该overlay的GeometryDelegate
 
(id) - initWithOverlay:
 
(CGPoint) - pointForMapPoint:
 
(BMKMapPoint- mapPointForPoint:
 
(CGRect) - rectForMapRect:
 
(BMKMapRect- mapRectForRect:
 
(BOOL) - canDrawMapRect:zoomScale:
 
(void) - drawMapRect:zoomScale:inContext:
 
(void) - setNeedsDisplayInMapRect:
 
(void) - renderLinesWithPoints:pointCount:strokeColor:lineWidth:looped:
 
(void) - renderLinesWithPoints:pointCount:strokeColor:lineWidth:looped:lineDash:
 
(void) - renderTexturedLinesWithPoints:pointCount:lineWidth:textureID:looped:
 
(void) - renderTexturedLinesWithPoints:pointCount:lineWidth:textureID:strokeColor:looped:tileTexture:keepScale:
 
(void) - renderTexturedLinesWithPartPoints:lineWidth:textureIndexs:isFocus:
 
(void) - renderTexturedLinesWithPartPoints:lineWidth:textureIndexs:isFocus:tileTexture:keepScale:
 
(void) - renderRegionWithPoints:pointCount:fillColor:usingTriangleFan:
 
(void) - renderATRegionWithPoint:pointCount:fillColor:usingTriangleFan:
 
(void) - glRender
 
(GLuint) - loadStrokeTextureImage:
 
(BOOL) - loadStrokeTextureImages:
 

属性

BMKCirclecircle
 该View对应的圆
 
- 属性 继承自 BMKOverlayGLBasicView
UIColor * fillColor
 
UIColor * strokeColor
 
CGFloat lineWidth
 画笔宽度,默认为0
 
CGPathRef path
 path对象
 
BOOL lineDash
 是否为虚线样式,默认NO
 
BOOL tileTexture
 是否纹理图片平铺绘制,默认NO
 
BOOL keepScale
 纹理图片是否缩放(tileTexture为YES时生效),默认NO
 
- 属性 继承自 BMKOverlayView
id< BMKOverlay > overlay
 关联的overlay对象
 
GLuint strokeTextureID
 关联的纹理对象ID
 
NSArray * colors
 

额外继承的成员函数

- 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:()

- (id) initWithCircle: (BMKCircle *)  circle

根据指定圆生成对应的View

参数
circle指定的圆
返回
生成的View

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