Optionalalign(default="left") Text align.
Optionalbackground(default="#00000000") Background color in #RRGGBBAA format.
Optionalcolor(default="#FFFFFFFF") Font color in #RRGGBBAA format.
Optionalfont(default="Verdana") Font family. Provide family-name
for a specific font. "generic-family" values like e.g. "sans-serif" will not work.
Font size in pixels.
OptionalheightHeight of a texture that text will be rendered on. If not provided, the resulting texture
will be sized based on the defined text but limited to max_height value.
It's an error to provide height if width is not defined.
OptionalidId of a component.
OptionallineDistance between lines in pixels. Defaults to the value of the font_size property.
Optionalmax(default=4320) Maximal height. Limits the height of the texture that the text will be rendered on.
Value is ignored if height is defined.
Optionalmax(default=7682) Maximal width. Limits the width of the texture that the text will be rendered on.
Value is ignored if width is defined.
Optionalstyle(default="normal") Font style. The selected font needs to support the specified style.
Text that will be rendered.
Optionalweight(default="normal") Font weight. The selected font needs to support the specified weight.
OptionalwidthWidth of a texture that text will be rendered on. If not provided, the resulting texture
will be sized based on the defined text but limited to max_width value.
Optionalwrap(default="none") Text wrapping options.
Export
Text