BaiduMap_IOSSDK_v6.5.5doc_Docs
6.5.5
|
该类用于定义文字覆盖物对应的View since 6.5.2 更多...
#import <BMKTextView.h>
属性 | |
BMKText * | text |
该View对应的文字覆盖物 更多... | |
UIColor * | backgroundColor |
背景颜色 更多... | |
int | fontSize |
字体大小,默认:12 更多... | |
BMKTextFontType | textFontType |
字体类型,默认:kBMKTextFontNormal 更多... | |
UIColor * | textColor |
字体颜色 更多... | |
CGFloat | textParagraphSpacing |
字符间距,默认:2.0f 更多... | |
int | textMaxLineWidth |
文字的最大行宽 更多... | |
CGFloat | textLineSpacing |
文字的行间距,默认:4.0f 更多... | |
NSTextAlignment | textAlignment |
文字对齐方式,默认:NSTextAlignmentCenter 更多... | |
NSLineBreakMode | textLineBreakMode |
字符截断类型,默认:NSLineBreakByCharWrapping 更多... | |
int | startLevel |
文字最小显示层级, 默认4 更多... | |
int | endLevel |
文字最大显示层级,默认21 更多... | |
float | rotate |
旋转角度,逆时针 更多... | |
![]() | |
UIColor * | fillColor |
UIColor * | strokeColor |
CGFloat | lineWidth |
画笔宽度,默认为0 更多... | |
BMKLineDashType | lineDashType |
虚线类型, since 5.0.0,默认kBMKLineDashTypeNone (仅支持颜色虚线) 更多... | |
![]() | |
UIImage * | textureImage |
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.5.2
- (nullable instancetype) initWithTextOverlay: | (BMKText *) | textOverlay |
根据指定文字覆盖物生成对应的View
textOverlay | 指定的文字覆盖物 |
|
readwritenonatomicstrong |
背景颜色
|
readwritenonatomicassign |
文字最大显示层级,默认21
|
readwritenonatomicassign |
字体大小,默认:12
|
readwritenonatomicassign |
旋转角度,逆时针
|
readwritenonatomicassign |
文字最小显示层级, 默认4
|
readnonatomicassign |
该View对应的文字覆盖物
|
readwritenonatomicassign |
文字对齐方式,默认:NSTextAlignmentCenter
|
readwritenonatomicstrong |
字体颜色
|
readwritenonatomicassign |
字体类型,默认:kBMKTextFontNormal
|
readwritenonatomicassign |
字符截断类型,默认:NSLineBreakByCharWrapping
|
readwritenonatomicassign |
文字的行间距,默认:4.0f
|
readwritenonatomicassign |
文字的最大行宽
|
readwritenonatomicassign |
字符间距,默认:2.0f