BaiduMap_IOSSDK_v6.6.3_Docs
6.6.3
|
此类用于定义一个轨迹View since 6.4.0 更多...
#import <BMKTraceOverlayView.h>
属性 | |
BMKTraceOverlay * | traceOverlay |
该View对应的折线数据对象 更多... | |
NSArray< UIColor * > * | strokeColors |
![]() | |
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 (仅支持颜色虚线) 更多... | |
![]() | |
UIImage * | textureImage |
UIImage * | textureImageProgressForward |
UIImage * | textureImageProgressBackward |
BOOL | keepScale |
纹理图片是否缩放,默认NO 更多... | |
![]() | |
id< BMKOverlay > | overlay |
关联的overlay对象 更多... | |
GLuint | strokeTextureID |
关联的纹理对象ID 更多... | |
额外继承的成员函数 | |
![]() | |
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.4.0
- (nullable instancetype) initWithTraceOverlay: | (BMKTraceOverlay *) | traceOverlay |
根据指定的轨迹生成一个轨迹View
traceOverlay | 指定的轨迹数据对象 |
|
readwritenonatomiccopy |
使用分段颜色绘制时,必须设置(内容必须为UIColor)since 6.5.7 注:请使用 - (UIColor *)initWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha; 初始化UIColor。 使用[UIColor ***Color]初始化时,个别case转换成RGB后会有问题 注意:strokeColors 长度与轨迹点的个数必须保持一致
|
readnonatomicassign |
该View对应的折线数据对象