Unigine.WidgetLabel Class
Inherits: | Widget |
This class creates a text label.
See Also#
- A set of UnigineScript API samples located in the <UnigineSDK>/data/samples/widgets/ folder:
- font_03
- font_04
- font_05
- font_06
- font_07
- UnigineScript API sample <UnigineSDK>/data/samples/objects/gui_06
WidgetLabel Class
Properties
string Text#
The text of the label.
set
Sets a text for the label.
set value -
Label text.
int TextAlign#
Alignment of the label.
set
Sets alignment of the label.
set value -
One of the following variables:
Members
static WidgetLabel ( Gui gui, string str = 0 ) #
Constructor. Creates a new text label.Arguments
- Gui gui - GUI, to which the new label will belong.
- string str - Text of the label. This is an optional parameter.
WidgetLabel Cast ( Widget widget ) #
Casts a WidgetLabel out of the Widget instance.Arguments
- Widget widget - Widget instance.
Return value
WidgetLabel instance.int type ( ) #
WidgetLabel type.Return value
WidgetLabel type identifier.Last update:
2019-08-16
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)