BitmapText#debug
  • References/Game Development/Phaser/Text/BitmapText

debug : boolean A debug flag designed for use with Game.enableStep.

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

[readonly] textHeight : number The height in pixels of the overall text area, taking into

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

alignTo(parent, position, offsetX, offsetY) → {Object}

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

alignIn(container, position, offsetX, offsetY)

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

tint : number The tint applied to the sprite. This is a hex value. A value of 0xFFFFFF will remove any tint effect.

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

shadowColor : string The color of the shadow, as given in CSS rgba format. Set the alpha component to 0 to disable the shadow.

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

fontWeight : string The weight of the font: 'normal', 'bold', or

2025-01-10 15:47:30