BMFTextUpdateExtension extension Null safety
text更新
- on
Methods
-
updateAlign(
int alignX, int alignY) → Future< bool> - 更新Text 文字覆盖对齐方式
-
updateAlignment(
BMFTextAlignment alignment) → Future< bool> - 更新文字对齐方式
-
updateBgColor(
Color bgColor) → Future< bool> - 更新Text背景颜色
-
updateEndLevel(
int endLevel) → Future< bool> - 更新最大显示层级,
-
updateFontColor(
Color fontColor) → Future< bool> - 更新Text字体颜色
-
updateFontSize(
int fontSize) → Future< bool> - 更新Text 字体大小
-
updateLineBreakMode(
BMFTextLineBreakMode lineBreakMode) → Future< bool> - 更新字符截断类型
-
updateLineSpacing(
int lineSpacing) → Future< bool> - 更新文字行间距
-
updateMaxLineWidth(
int maxLineWidth) → Future< bool> - 更新文字最大行宽
-
updateParagraphSpacing(
double paragraphSpacing) → Future< bool> - 更新字符间距 字体大小
-
updatePosition(
BMFCoordinate position) → Future< bool> - 更新Text经纬度
-
updateRotate(
double rotate) → Future< bool> - 更新Text 旋转角度
-
updateStartLevel(
int startLevel) → Future< bool> - 更新最小显示层级,
-
updateText(
String text) → Future< bool> - 更新Text文本
-
updateTypeFace(
BMFTypeFace typeFace) → Future< bool> - 更新Text typeFace