|
BaiduMap_IOSSDK_v6.6.2_Docs 6.6.2
|
此类用于定义一个颜色渐变线View since 6.4.0 更多...
#include <BMKGradientLineView.h>
属性 | |
| BMKGradientLine * | gradientLine |
| 该View对应的颜色渐变线数据对象 | |
| NSArray< UIColor * > * | strokeColors |
| 渐变颜色数组 | |
| BOOL | isClickable |
| 是否可点击,默认YES | |
| BMKLineBloomMode | lineBloomMode |
| 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 |
| CGFloat | lineWidth |
| 画笔宽度,默认为0 | |
| BMKLineDashType | lineDashType |
| 虚线类型, since 5.0.0,默认kBMKLineDashTypeNone (仅支持颜色虚线) | |
属性 继承自 BMKOverlayGLBasicView | |
| UIImage * | textureImage |
| 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 since 6.4.0
| - (nullable instancetype) initWithGradientLine: | (BMKGradientLine *) | gradientLine |
根据指定的颜色渐变线生成一个颜色渐变线View
| gradientLine | 指定的颜色渐变线数据对象 |
|
readnonatomicassign |
该View对应的颜色渐变线数据对象
|
readwritenonatomicassign |
是否可点击,默认YES
|
readwritenonatomicassign |
发光处透明度,取值范围 [0 ~ 255],默认 255.0f;since 6.5.7
|
readwritenonatomicassign |
模糊次数 since 6.5.7 取值范围 [1~10],默认值为 1 注意:模糊发光模式下该属性生效,since 6.5.9可以替代渐变发光模式的lineBloomGradientASPeed效果
|
readwritenonatomicassign |
透明度渐变速度 since 6.5.7 取值范围 [1.0f ~ 10.0f],默认值为 5.0f 注意:渐变发光模式下该属性生效,since 6.5.9暂不支持
|
readwritenonatomicassign |
发光模式 since 6.5.7 默认不发光,kBMKLineBloomModeNone
|
readwritenonatomicassign |
发光处宽度,默认 0.0f;since 6.5.7
|
readwritenonatomiccopy |
渐变颜色数组