Text
Attribute list for any non-block element, this could also be any type, for example a number.
Key-Value Pairs
font
Changes the font used for rendering the text
size
The size of the text, the default text size being 10.
spacing
The space between each character in a font
line_height
The space between each line in a font
anchor
The side(s) that the text will be neighboring, which can use both their full name and short name so e.g. "bottom right" and "br"
alignment
The position from where the element's text will start from:
padding
The space between the text and the border of a frame, the default being 10.
link
Sets the text to be clickable to redirect or open a new page for the user
decoration
Sets the text decoration, e.g. hiding the blue text on a link:
Flags
Redirect
Used on links to instead of opening a new tab in the browser, redirecting the current page to the link.
Wrapped
Makes the text automatically wrap against the boundries of the current frame (or window if there is no frame)
Last updated