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

wordWrapWidth : number The width at which text will wrap. Source code:

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

moveDown() → {PIXI.DisplayObject} Moves this Game Object down one place in its parents display list

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

setStyle(style, update) → {

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

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

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

game : Phaser.Game A reference to the currently running Game

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

loadTexture(key, frame, stopAnimation) Changes the base texture the Game

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

precalculateWordWrap(text) → {array} Runs the given text through the Text.runWordWrap function and

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

clearColors() → {Phaser.Text}

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

autoCull : boolean A Game Object with autoCull set to true will check its bounds against the World Camera every frame

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

bringToTop() → {PIXI.DisplayObject} Brings this Game Object to the top of its parents display list

2025-01-10 15:47:30