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

type : number The const type of this object. Source code:

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

setFixedWidth(width, lineAlignment) If you need this RetroFont to have a fixed width and custom alignment

2025-01-10 15:47:30
RetroFont.ALIGN_RIGHT
  • References/Game Development/Phaser/Text/RetroFont

[static] ALIGN_RIGHT : string Align each line of multi-line text to the right.

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

updateShadow(state) Sets the Shadow on the Text.context based on the Style settings, or disables it if not enabled.This is called

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

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

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

align : string Alignment of the text when multiLine = true or a fixedWidth is set. Set to RetroFont.ALIGN_LEFT (default), RetroFont

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#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#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