9#import "BMKGeometryView.h"
15 kBMKTextFontNormal = 0,
16 kBMKTextFontNormalBold,
18 kBMKTextFontItalicBold
20typedef enum BMKTextFontType BMKTextFontType;
22NS_ASSUME_NONNULL_BEGIN
29- (nullable instancetype)initWithTextOverlay:(
BMKText *)textOverlay;
68@property (nonatomic, assign)
float rotate;
该类定义了一个用opengl绘制geometry的基类
Definition: BMKGeometryView.h:14
文字覆盖物 since 6.5.2
Definition: BMKText.h:15
该类用于定义文字覆盖物对应的View since 6.5.2
Definition: BMKTextView.h:25
NSLineBreakMode textLineBreakMode
字符截断类型,默认:NSLineBreakByCharWrapping
Definition: BMKTextView.h:59
BMKTextFontType textFontType
字体类型,默认:kBMKTextFontNormal
Definition: BMKTextView.h:41
int endLevel
文字最大显示层级,默认21
Definition: BMKTextView.h:65
CGFloat textParagraphSpacing
字符间距,默认:2.0f
Definition: BMKTextView.h:47
NSTextAlignment textAlignment
文字对齐方式,默认:NSTextAlignmentCenter
Definition: BMKTextView.h:56
BOOL isClickable
是否可点击,默认YES
Definition: BMKTextView.h:71
UIColor * backgroundColor
背景颜色
Definition: BMKTextView.h:35
int textMaxLineWidth
文字的最大行宽
Definition: BMKTextView.h:50
UIColor * textColor
字体颜色
Definition: BMKTextView.h:44
CGFloat textLineSpacing
文字的行间距,默认:4.0f
Definition: BMKTextView.h:53
int fontSize
字体大小,默认:12
Definition: BMKTextView.h:38
int startLevel
文字最小显示层级, 默认4
Definition: BMKTextView.h:62
float rotate
旋转角度,逆时针
Definition: BMKTextView.h:68
BMKText * text
该View对应的文字覆盖物
Definition: BMKTextView.h:32