Type:IText: Difference between revisions

From Resonite Wiki
create IText page
 
add that it implements IComponent
 
Line 1: Line 1:
The '''IText''' type is an [[Interface Type]] for text-focused components.
The '''IText''' type is an [[Interface Type]] for text-focused components.
== Fields Provided ==
== Fields Provided ==
{{Table TypeFields
{{Table TypeFields
Line 11: Line 12:
|SelectionColor|ColorX|Color of selected text.
|SelectionColor|ColorX|Color of selected text.
}}
}}
== Implements ==
* [[Type:IComponent]]
== Implemented By ==
== Implemented By ==
* [[Component:Text]]
* [[Component:Text]]
* [[Component:TextRenderer]]
* [[Component:TextRenderer]]

Latest revision as of 04:38, 3 July 2024

The IText type is an Interface Type for text-focused components.

Fields Provided

Fields
Name Type Description
Text String Text content.
Color ColorX Color of the text.
MaskPattern String
Font FontSet Font used for for the Text.
CaretPosition Int Position of the editing caret.
SelectionStart Int
CaretColor ColorX Color of the editing caret.
SelectionColor ColorX Color of selected text.


Implements

Implemented By