|
BaiduMap_IOSSDK_v6.6.3_Docs
6.6.3
|
此类用于定义一个折线View 更多...
#import <BMKPolylineView.h>
属性 | |
| BMKPolyline * | polyline |
| 该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< 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 |
此类用于定义一个折线View
| - (BOOL isFocus) __deprecated_msg | ("已废弃since 5.0.0") |
是否分段纹理/分段颜色绘制(突出显示),默认YES,YES:使用分段纹理绘制 NO:使用默认的灰色纹理绘制
| - (NSArray<UIColor *>* colors) __deprecated_msg | ("已废弃since 6.5.) | 0 | |
| (请使用BMKMultiColorPolylineView中strokeColors") | |||
使用分段颜色绘制时,必须设置(内容必须为UIColor) 注:请使用 - (UIColor *)initWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha; 初始化UIColor。 使用[UIColor ***Color]初始化时,个别case转换成RGB后会有问题
| - (nullable instancetype) initWithPolyline: | (BMKPolyline *) | polyline |
根据指定的折线生成一个折线View
| polyline | 指定的折线数据对象 |
|
readwritenonatomicassign |
是否可点击,默认YES;since 6.5.7
|
readwritenonatomicassign |
发光处透明度,取值范围 [0 ~ 255],默认 255.0f;since 6.5.7
|
readwritenonatomicassign |
模糊次数 since 6.5.7 取值范围 [1~10],默认值为 1 注意:模糊发光模式下该属性生效
|
readwritenonatomicassign |
默认向两侧发光,kBMKLineBloomDirectionAround; since 6.6.3
|
readwritenonatomicassign |
透明度渐变速度 since 6.5.7 取值范围 [1.0f ~ 10.0f],默认值为 5.0f 注意:渐变发光模式下该属性生效
|
readwritenonatomicassign |
发光模式,仅支持颜色实折线;since 6.5.7 默认不发光,kBMKLineBloomModeNone
|
readwritenonatomicassign |
发光处宽度,默认 0.0f;since 6.5.7
|
readwritenonatomicassign |
LineCapType,默认是kBMKLineCapButt (不支持虚线)
|
readwritenonatomicassign |
LineJoinType,默认是kBMKLineJoinBevel(不支持虚线)
|
readnonatomicassign |
该View对应的折线数据对象