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

此类用于定义一个折线View 更多...

#import <BMKPolylineView.h>

类 BMKPolylineView 继承关系图:
BMKOverlayGLBasicView BMKOverlayGLBasicView BMKOverlayView BMKOverlayView BMKOverlayView BMKOverlayView

构造函数

(id) - initWithPolyline:
 
(id) - initWithPolyline:
 
- 构造函数 继承自 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:
 
(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:
 

属性

BMKPolylinepolyline
 该View对应的折线数据对象
 
BOOL isFocus
 是否分段纹理/分段颜色绘制(突出显示),默认YES,YES:使用分段纹理绘制 NO:使用默认的灰色纹理绘制
 
- 属性 继承自 BMKOverlayGLBasicView
UIColor * fillColor
 
UIColor * strokeColor
 
CGFloat lineWidth
 画笔宽度,默认为0
 
CGPathRef path
 path对象
 
BOOL lineDash
 是否为虚线样式,默认NO
 
BOOL tileTexture
 是否纹理图片平铺绘制,默认NO
 
BOOL keepScale
 纹理图片是否缩放(tileTexture为YES时生效),默认NO
 
- 属性 继承自 BMKOverlayView
id< BMKOverlayoverlay
 关联的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
 
struct {
   unsigned int   keepAlive:1
 
   unsigned int   levelCrossFade:1
 
   unsigned int   drawingDisabled:1
 
   unsigned int   usesTiledLayer:1
 
_flags
 

详细描述

此类用于定义一个折线View

函数文档

◆ initWithPolyline:() [1/2]

- (id) initWithPolyline: (BMKPolyline *)  polyline

根据指定的折线生成一个折线View

参数
polyline指定的折线数据对象
返回
新生成的折线View

◆ initWithPolyline:() [2/2]

- (id) initWithPolyline: (BMKPolyline *)  polyline

根据指定的折线生成一个折线View

参数
polyline指定的折线数据对象
返回
新生成的折线View

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