Hierarchy

  • TextOptions

Properties

Properties

color?: Color

Optionally override the font color, currently unsupported by SpriteFont

font?: Font | SpriteFont

Optionally specify a font, if none specified a default font is used (System sans-serif 10 pixel)

text: string

Text to draw