OptionalalignOptionaldirectionOptionallinedistance between baselines; defaults to the theme's size times line height
Optionalmaxwrap width in pixels; omit for a single unwrapped line
Optionalresolutiontext texture resolution; omit for the renderer default
Optionalresolvehow an <img> path becomes a texture; defaults to the asset resolver with a Texture.EMPTY fallback
OptionaltagPixi Text tag styles for custom inline tags, the same option a bare Text2D takes:
supplying <quest>, say, makes <quest>...</quest> a styled run rather than literal text.
OptionaltextOptionalvariableswhat a $name in the text becomes, the same contract parseMarkup takes
flow direction; defaults to the theme's
direction