The IText type is an Interface Type for text-focused components.
Fields Provided
Name | Type | Description |
---|---|---|
Text
|
String | Text content. |
Color
|
ColorX | Color of the text. |
MaskPattern
|
String | When rendering, replace every character with this string. |
Font
|
direct IAssetProvider`1<FontSet> | Font used for for the Text .
|
CaretPosition
|
Int | Position of the editing caret. |
SelectionStart
|
Int | Where the current selection of the text starts. |
CaretColor
|
ColorX | Color of the editing caret. |
SelectionColor
|
ColorX | Color of selected text. |