Text#wordWrap
  • References/Game Development/Phaser/Text/Text

wordWrap : boolean Indicates if word wrap should be used. Source code:

2025-01-10 15:47:30
Text#world
  • References/Game Development/Phaser/Text/Text

world : Phaser.Point The world coordinates of this

2025-01-10 15:47:30
Text#fontSize
  • References/Game Development/Phaser/Text/Text

fontSize : number | string The size of the font. If the font size is specified in pixels (eg. 32 or '32px')

2025-01-10 15:47:30
Text#addStrokeColor()
  • References/Game Development/Phaser/Text/Text

addStrokeColor(color, position) → {Phaser.Text}

2025-01-10 15:47:30
Text#clearFontValues()
  • References/Game Development/Phaser/Text/Text

clearFontValues() → {Phaser.Text}

2025-01-10 15:47:30
Text#y
  • References/Game Development/Phaser/Text/Text

y : number The position of the Game Object on the y axis relative to the local coordinates of the parent.

2025-01-10 15:47:30
Text#fontStyle
  • References/Game Development/Phaser/Text/Text

fontStyle : string The style of the font: 'normal', 'italic', 'oblique' Source

2025-01-10 15:47:30
Text#setTexture()
  • References/Game Development/Phaser/Text/Text

setTexture(texture, destroy) Sets the texture of the sprite. Be warned that this doesn't remove or destroy

2025-01-10 15:47:30
Text#font
  • References/Game Development/Phaser/Text/Text

font : string Change the font family that the text will be rendered in, such as 'Arial'. Multiple CSS font families and

2025-01-10 15:47:30
Text#addChild()
  • References/Game Development/Phaser/Text/Text

addChild(child) → {DisplayObject}

2025-01-10 15:47:30