BaiduMap_IOSSDK_v5.2.0_Docs
|
该类定义了一个用opengl绘制的OverlayView的基类,如果需要用gdi进行绘制请继承于BMKOverlayPathView类 更多...
#import <BMKOverlayGLBasicView.h>
属性 | |
UIColor * | fillColor |
UIColor * | strokeColor |
CGFloat | lineWidth |
画笔宽度,默认为0 | |
CGPathRef | path |
path对象 | |
BOOL | keepScale |
纹理图片是否缩放,默认NO | |
BMKLineJoinType | lineJoinType |
LineJoinType,默认是kBMKLineJoinBevel(不支持虚线) | |
BMKLineCapType | lineCapType |
LineCapType,默认是kBMKLineCapButt (不支持虚线) | |
BMKLineDashType | lineDashType |
虚线类型, since 5.0.0,默认kBMKLineDashTypeNone(仅支持颜色虚线) | |
![]() | |
id< BMKOverlay > | overlay |
关联的overlay对象 | |
GLuint | strokeTextureID |
关联的纹理对象ID | |
NSArray< UIColor * > * | colors |
额外继承的成员函数 | |
![]() | |
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 |
struct { | |
unsigned int keepAlive:1 | |
unsigned int levelCrossFade:1 | |
unsigned int drawingDisabled:1 | |
unsigned int usesTiledLayer:1 | |
} | _flags |
该类定义了一个用opengl绘制的OverlayView的基类,如果需要用gdi进行绘制请继承于BMKOverlayPathView类
|
readwritenonatomicstrong |
填充颜色 注:请使用 - (UIColor *)initWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha; 初始化UIColor,使用[UIColor ***Color]初始化时,个别case转换成RGB后会有问题
|
readwritenonatomicstrong |
画笔颜色 注:请使用 - (UIColor *)initWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha; 初始化UIColor,使用[UIColor ***Color]初始化时,个别case转换成RGB后会有问题