space_ex v0.1.0 SpaceEx.UI.Text

A text label.

See SpaceEx.UI.Panel.add_text/4.

Link to this section Summary

Functions

A list of all available fonts

Set the color

The text string

Name of the font

The rect transform for the text

Whether the UI object is visible

Remove the UI object

Name of the font

Whether the UI object is visible

Link to this section Functions

Link to this function get_alignment(conn, this)

Alignment.

Link to this function get_available_fonts(conn, this)

A list of all available fonts.

Link to this function get_color(conn, this)

Set the color

Link to this function get_content(conn, this)

The text string

Link to this function get_font(conn, this)

Name of the font

Link to this function get_line_spacing(conn, this)

Line spacing.

Link to this function get_rect_transform(conn, this)

The rect transform for the text.

Link to this function get_size(conn, this)

Font size.

Link to this function get_style(conn, this)

Font style.

Link to this function get_visible(conn, this)

Whether the UI object is visible.

Link to this function remove(conn, this)

Remove the UI object.

Link to this function set_alignment(conn, this, value)

Alignment.

Link to this function set_color(conn, this, value)

Set the color

Link to this function set_content(conn, this, value)

The text string

Link to this function set_font(conn, this, value)

Name of the font

Link to this function set_line_spacing(conn, this, value)

Line spacing.

Link to this function set_size(conn, this, value)

Font size.

Link to this function set_style(conn, this, value)

Font style.

Link to this function set_visible(conn, this, value)

Whether the UI object is visible.