Language version: 2 · Reference version: 2.7 · Date: 2026-10-25 · Compiler build: df7b3b14 · Namespace: text · Entries: 9
text (library)
Definition
Named constants for text alignment (text.align_*) and formatting (text.format_*) used by label, box, and table.
On boxes and tables, pass alignment to texthalign and textvalign (not the older text_halign / text_valign names).
Example
text.align_bottom (constant)
Definition
Vertical text alignment constant that aligns text to the bottom of the container.
Type
const string
Example
text.align_center (constant)
Definition
Text alignment constant that centers text horizontally or vertically in the container.
Type
const string
Example
text.align_left (constant)
Definition
Horizontal text alignment constant that aligns text to the left of the container.
Type
const string
Example
text.align_right (constant)
Definition
Horizontal text alignment constant that aligns text to the right of the container.
Type
const string
Example
text.align_top (constant)
Definition
Vertical text alignment constant that aligns text to the top of the container.
Type
const string
Example
text.format_bold (constant)
Definition
Text formatting constant that renders text in bold.
Type
const string
Example
text.format_italic (constant)
Definition
Text formatting constant that renders text in italic.
Type
const string
Example
text.format_none (constant)
Definition
Text formatting constant that applies no special formatting.
Type
const string
Example