update |
Added category: Interface types |
||
Line 19: | Line 19: | ||
* [[Component:Text]] | * [[Component:Text]] | ||
* [[Component:TextRenderer]] | * [[Component:TextRenderer]] | ||
[[Category:Interface types]] |
Latest revision as of 17:02, 25 August 2025
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. |