RetroFont#fixedWidth
  • References/Game Development/Phaser/Text/RetroFont

fixedWidth : number If you need this RetroFont image to have a fixed width you can set the width in this value.If text is

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

boundsAlignH : string Horizontal alignment of the text within the textBounds. Can be: 'left', 'center' or 'right'

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

getImage() → {Image} Will return a HTML Image of the texture Returns

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

smoothed : boolean Sets if the stamp is smoothed or not. Source code:

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

customSpacingY : number Adds vertical spacing between each line of multi-line text, set in pixels.

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

inputEnabled : boolean By default a Game Object won't process any input events. By setting inputEnabled to true a

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

new BitmapText(game, x, y, font, text, size, align)

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

destroy(destroyChildren, destroyTexture) Destroys the Game Object. This

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

contains(child) → {Boolean} Determines whether the specified display object is a child of the D

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

shadowStroke : boolean Sets if the drop shadow is applied to the Text stroke. Source

2025-01-10 15:47:30