Skip to content
Docs
Open Promoeyes

paragraph

UI item · inside ui / ui3duisset 16× in templates and rigs

Body text that wraps on a UI stage: its words wrapped to `w`, top-left at `x` `y`.

paragraph(align=left color=#ffffff line_height=1)

Attributes

aligntext`center` centres each line in `w`; anything else is left-aligned.16×
colorcolour #rrggbbText colour (default `#c9d6e6`).16×
line_heightnumberLine spacing as a multiple of `size` (default 1.5).16×
sizenumberFont size in stage units (default 16).16×
texttextThe words; a literal `\n` starts a new line.16×
wnumberWrap width in stage units (default 360).16×
weightnumberFont weight (default 400).16×
xnumber3×
ynumber3×

Where it goes

Written under