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#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#cameraOffset
  • References/Game Development/Phaser/Text/Text

cameraOffset : Phaser.Point The x/y coordinate offset

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#textBounds
  • References/Game Development/Phaser/Text/Text

[readonly] textBounds : Phaser.Rectangle

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

height : number The height of the Text. Setting this will modify the scale to achieve the value requested.

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

bottom : number The sum of the y and height properties.This is the same as y + height - offsetY.

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

scaleMax : Phaser.Point The maximum scale this Game

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

getLocalBounds() → {Rectangle} Retrieves the non-global local bounds of the Sprite as a rectangle

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

addChild(child) → {DisplayObject}

2025-01-10 15:47:30