|
|
static final String | SPAN_TYPE_COLOR = "color" |
| The color to set, defalut 1,1,1, type is float. More...
|
|
static final String | SPAN_TYPE_FONT_SIZE_RATIO = "fontSizeRatio" |
| The size ratio to set, defalut 1f, type is Float. More...
|
|
static final String | SPAN_TYPE_FONT_FAMILY = "fontFamily" |
| The font for the text, defalut is "", type is String. More...
|
|
static final String | SPAN_TYPE_WEIGHT = "weight" |
| Control the size of the font, range [100,900], type is Integer. More...
|
|
static final String | SPAN_TYPE_ITALIC = "italic" |
| Whether to use italics for characters within span, type is Boolean. More...
|
|
static final String | SPAN_TYPE_UNDERLINE = "underline" |
| Whether to underline characters within span, type is Boolean. More...
|
|
static final String | SPAN_TYPE_OPACITY = "opacity" |
| Set transparency,default 1, type is Float. More...
|
|
static final String | SPAN_TYPE_BODY_OPACITY = "bodyOpacity" |
| Set text body transparency,default 1, type is Float. More...
|
|
static final String | SPAN_TYPE_OUTLINE_OPACITY = "outlineOpacity" |
| Set text outline transparency,default 1, type is Float. More...
|
|
static final String | SPAN_TYPE_SHADOW_OPACITY = "shadowOpacity" |
| Set text shadow transparency,default 1, type is Float. More...
|
|
static final String | SPAN_TYPE_RENDER_ID = "rendererId" |
| There is a complexRender element inside, type is String. More...
|
|
static final String | SPAN_TYPE_OUTLINE_COLOR = "outlineColor" |
| The color to set outline, defalut (1,1,1,1), type is NvsColor. More...
|
|
static final String | SPAN_TYPE_OUTLINE_WIDTH = "outlineWidth" |
| Control the size of the outline, default 0. More...
|
|
static final String | SPAN_TYPE_NORMAL_TEXT = "normalText" |
| Normal text control the size of the outline, default 0. More...
|
|
| NvsCaptionSpan () |
|
| NvsCaptionSpan (String type, int start, int end) |
|
String | getType () |
|
int | getStart () |
|
void | setStart (int start) |
|
int | getEnd () |
|
void | setEnd (int end) |
|
String | toString () |
|
captions span.
Sets the text style at the specified position in the caption. The settable properties include: color, sizeRatio, fontFamily, etc. Set the value, check the parameter type. If the parameter type is incorrect, will inoperative.
- Warning
- In the NvsCaption class, all public APIs are used in the UI thread! ! !