Label
Base Class: Element
UI.Label
is simple line of text used to label other elements.
Constructors:
Label()
- Create label element with no text.Label()
: text string- Create label element with specified text.
Instance Properties:
Text
: string - The text on the label.TextColor
: Color - Foreground color of the text.TextAlign
: TextAnchor - How to align text within the label.FontSize
: int - Size of the font used for the text.FontStyle
: FontStyle - Style of the font used for the text.