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

data : Object An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be

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

characterSpacingX : number If the characters in the font set have horizontal spacing between them set the required amount here

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

align : string Controls the horizontal alignment for multiline text.Can be: 'left', 'center' or 'right'.Does not affect

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

crop :Rectangle This is the area of the BaseTexture image to actually copy to the Canvas / WebGL when rendering,irrespective

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

new RetroFont(game, key, characterWidth, characterHeight, chars, charsPerRow, xSpacing, ySpacing

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

frame : integer Gets or sets the current frame index of the texture being used to render this Game Object. To change the

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

shadowOffsetY : number The shadowOffsetY value in pixels. This is how far offset vertically the shadow effect will be.

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

stroke : string A canvas fillstyle that will be used on the text stroke eg 'blue', '#FCFF00'.

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

addChildAt(child, index) → {DisplayObject}

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

crop(rect, copy) Crop allows you to crop the texture being used to display this Game Object.Setting

2025-01-10 15:47:30