InterfacesTextOptionsOn this pageTextOptions Index PropertiescolorfontmaxWidthtextProperties optionalcolorcolor?: ColorOptionally override the font color, currently unsupported by SpriteFontoptionalfontfont?: SpriteFont | FontOptionally specify a font, if none specified a default font is used (System sans-serif 10 pixel)optionalmaxWidthmaxWidth?: numberOptionally specify a maximum width in pixels for our text, and wrap to the next line if needed.texttext: stringText to draw
Optionally override the font color, currently unsupported by SpriteFont