Flip the text horizontally
Flip the text vertically
The font family to use
The size of the font in pixels.
The height of the invisible box where the text is rendered
The render layer
The space between chars in pixels
The height of the line in pixels. Default value is equal to the font size
X-axis and Y-axis offset
Change the opacity between 1 and 0
Direction in which the text will be rendered.
Text rotation in radians
Optional
shadowShadow text configuration
Shadow text color
Shadow text offset in pixels
Shadow text opacity
Smoothing pixels (not recommended for bitmap fonts)
The text to render
The texture atlas configuration
Optional
charRange of characters covered by the component defined in number pairs. The default value is [32, 126, 161, 255], this means that the component will render characters from 32 to 126 and from 161 to 255.
Optional
fontThe size of the font in pixels for bitmap fonts.
Optional
spacing?: numberSpacing in pixels to correct badly sliced characters.
The width of the invisible box where the text is rendered
The text color