space_ex v0.8.0 SpaceEx.UI.Text
A text label.
Link to this section Summary
Functions
Alignment
A list of all available fonts
Set the color
The text string
Name of the font
Line spacing
The rect transform for the text
Remove the UI object
Alignment
Set the color
The text string
Name of the font
Line spacing
Font size
Font style
Whether the UI object is visible
Font size
Font style
Whether the UI object is visible
Link to this section Functions
Alignment.
Returns: a Elixir.SpaceEx.UI.TextAnchor value in atom form
A list of all available fonts.
Returns: [str, ...], where str is a string
Set the color
Returns: {double, double, double}, where double is a high precision decimal
The text string
Returns: a string
Name of the font
Returns: a string
Line spacing.
Returns: a low-precision decimal
The rect transform for the text.
Returns: a reference to a SpaceEx.UI.RectTransform object
Remove the UI object.
Returns: :ok
Alignment.
Returns: :ok
Set the color
Returns: :ok
The text string
Returns: :ok
Name of the font
Returns: :ok
Line spacing.
Returns: :ok
Font size.
Returns: :ok
Font style.
Returns: :ok
Whether the UI object is visible.
Returns: :ok
Font size.
Returns: an integer
Font style.
Returns: a Elixir.SpaceEx.UI.FontStyle value in atom form
Whether the UI object is visible.
Returns: true or false