Skip to content

text

Properties

align_bottom

Type: const string

Vertical text alignment for box.new(), box.set_text_valign(), table.cell() and table.cell_set_text_valign() functions.


align_center

Type: const string

Text alignment for box.new(), box.set_text_halign(), box.set_text_valign(), label.new() and label.set_textalign() functions.


align_left

Type: const string

Horizontal text alignment for box.new(), box.set_text_halign(), label.new() and label.set_textalign() functions.


align_right

Type: const string

Horizontal text alignment for box.new(), box.set_text_halign(), label.new() and label.set_textalign() functions.


align_top

Type: const string

Vertical text alignment for box.new(), box.set_text_valign(), table.cell() and table.cell_set_text_valign() functions.


format_bold

Type: const text_format

A named constant for use with the text_formatting parameter of the label.new(), box.new(), table.cell(), and *set_text_formatting() functions. Makes the text bold.


format_italic

Type: const text_format

A named constant for use with the text_formatting parameter of the label.new(), box.new(), table.cell(), and *set_text_formatting() functions. Italicizes the text.


format_none

Type: const text_format

A named constant for use with the text_formatting parameter of the label.new(), box.new(), table.cell(), and *set_text_formatting() functions. Signifies no special text formatting.


wrap_auto

Type: const string

Automatic wrapping mode for box.new() and box.set_text_wrap() functions.


wrap_none

Type: const string

Disabled wrapping mode for box.new() and box.set_text_wrap() functions.

Released under the MIT License.