BaiduMap_IOSSDK_v6.6.7_Docs 6.6.7

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

该类定义了一个用opengl绘制的OverlayView的基类，如果需要用gdi进行绘制请继承于BMKOverlayPathView类 更多...

`#import <BMKOverlayGLBasicView.h>`

类 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

## 属性
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

## 详细描述

该类定义了一个用opengl绘制的OverlayView的基类，如果需要用gdi进行绘制请继承于BMKOverlayPathView类

## 函数文档

## ◆ __deprecated_msg [1/3]

- (BOOL tileTexture) __deprecated_msg |  | ("已废弃since 5.0.0") |  |

是否纹理图片平铺绘制，默认NO

在 BMKPolylineView 内被实现.

## ◆ __deprecated_msg [2/3]

- (BOOL lineDash) __deprecated_msg |  | ("已废弃since 5.0.) | 0
|  | (请使用lineDashType绘制虚线") |

是否为虚线样式，默认NO

## ◆ __deprecated_msg [3/3]

- (CGPathRef path) __deprecated_msg |  | ("已废弃since 6.5.0") |  |

path对象

## 属性说明

## ◆ keepScale

- (BOOL) keepScale
| read write nonatomic assign

纹理图片是否缩放，默认NO

## ◆ textureImage

- (UIImage*) textureImage
| read write nonatomic strong

纹理图片 since 6.5.0 opengl要求图片宽高必须是2的n次幂

## ◆ textureImageProgressBackward

- (UIImage*) textureImageProgressBackward
| read write nonatomic strong

当前进度之后的部分分段纹理绘制所需的纹理图片，不设置时当前进度之后的路线不显示，轨迹动画化使用 since 6.6.3 必须UIImage，opengl要求图片宽高必须是2的n次幂

## ◆ textureImageProgressForward

- (UIImage*) textureImageProgressForward
| read write nonatomic strong

当前进度之前的部分分段纹理绘制所需的纹理图片，不设置时当前进度之前的路线不显示，轨迹动画化使用 since 6.6.3 必须UIImage，opengl要求图片宽高必须是2的n次幂

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

- BaiduMapAPI_Map.framework/Headers/BMKOverlayGLBasicView.h