BaiduMap_IOSSDK_v6.6.3_Docs  6.6.3
构造函数 | 属性 | 所有成员列表
BMKMultiTexturePolylineView类 参考

此文件定义分段多纹理折线View since 6.5.0 更多...

#import <BMKMultiTexturePolylineView.h>

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

构造函数

(nullable instancetype) - initWithMultiPolyline:
 
- 构造函数 继承自 BMKPolylineView
(nullable instancetype) - initWithPolyline:
 
(BOOL isFocus) - __deprecated_msg
 是否分段纹理/分段颜色绘制(突出显示),默认YES,YES:使用分段纹理绘制 NO:使用默认的灰色纹理绘制 更多...
 
(NSArray< UIColor * > *colors) - __deprecated_msg
 
- 构造函数 继承自 BMKOverlayGLBasicView
(CGPathRef path) - __deprecated_msg
 path对象 更多...
 
(BOOL lineDash) - __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
 

属性

BMKMultiPolylinemultiPolyline
 该View对应的折线数据对象 更多...
 
NSArray< UIImage * > * textureImages
 
NSArray< UIImage * > * textureImagesProgressForward
 
NSArray< UIImage * > * textureImagesProgressBackward
 
- 属性 继承自 BMKPolylineView
BMKPolylinepolyline
 该View对应的折线数据对象 更多...
 
BMKLineJoinType lineJoinType
 LineJoinType,默认是kBMKLineJoinBevel(不支持虚线) 更多...
 
BMKLineCapType lineCapType
 LineCapType,默认是kBMKLineCapButt (不支持虚线) 更多...
 
BOOL isClickable
 是否可点击,默认YES;since 6.5.7 更多...
 
BMKLineBloomMode lineBloomMode
 
BMKLineBloomDirection lineBloomDirection
 默认向两侧发光,kBMKLineBloomDirectionAround; since 6.6.3 更多...
 
CGFloat lineBloomWidth
 发光处宽度,默认 0.0f;since 6.5.7 更多...
 
CGFloat lineBloomAlpha
 发光处透明度,取值范围 [0 ~ 255],默认 255.0f;since 6.5.7 更多...
 
CGFloat lineBloomGradientASPeed
 
int lineBloomBlurTimes
 
- 属性 继承自 BMKGeometryView
UIColor * fillColor
 
UIColor * strokeColor
 
UIColor * strokeColorProgressForward
 加载绘制当前进度之前的部分的画笔颜色,不设置时当前进度之前的路线不显示,轨迹动画化使用 since 6.6.3 更多...
 
UIColor * strokeColorProgressBackward
 加载绘制当前进度之后的部分的画笔颜色,不设置时当前进度之后的路线不显示,轨迹动画化使用 since 6.6.3 更多...
 
CGFloat lineWidth
 画笔宽度,默认为0 更多...
 
BMKLineDashType lineDashType
 虚线类型, since 5.0.0,默认kBMKLineDashTypeNone (仅支持颜色虚线) 更多...
 
- 属性 继承自 BMKOverlayGLBasicView
UIImage * textureImage
 
UIImage * textureImageProgressForward
 
UIImage * textureImageProgressBackward
 
BOOL keepScale
 纹理图片是否缩放,默认NO 更多...
 
- 属性 继承自 BMKOverlayView
id< BMKOverlayoverlay
 关联的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 since 6.5.0

函数文档

◆ initWithMultiPolyline:

- (nullable instancetype) initWithMultiPolyline: (BMKMultiPolyline *)  multiPolyline

根据指定的折线生成一个分段多纹理折线View

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

属性说明

◆ multiPolyline

- (BMKMultiPolyline*) multiPolyline
readnonatomicassign

该View对应的折线数据对象

◆ textureImages

- (NSArray<UIImage *>*) textureImages
readwritenonatomiccopy

加载分段纹理绘制 所需的纹理图片 since 6.5.0 必须UIImage数组,opengl要求图片宽高必须是2的n次幂

◆ textureImagesProgressBackward

- (NSArray<UIImage *>*) textureImagesProgressBackward
readwritenonatomiccopy

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

◆ textureImagesProgressForward

- (NSArray<UIImage *>*) textureImagesProgressForward
readwritenonatomiccopy

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


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