RetroFont#getLongestLine()
  • References/Game Development/Phaser/Text/RetroFont

getLongestLine() → {number} Works out the longest line of text in _text and returns its length

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

noFrame : boolean Does this Texture have any frame data assigned to it? Inherited

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

renderXY(displayObject, x, y, clear) This function will draw the display object to the RenderTexture at

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

[static] TEXT_SET8 : string Text Set 8 = 0123456789 .ABCDEFGHIJKLMNOPQRSTUVWXYZ

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

setFrame(frame) Specifies the region of the baseTexture that this texture will use. Parameters

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

isTiling : boolean Is this a tiling texture? As used by the likes of a TilingSprite.

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

[static] ALIGN_CENTER : string Align each line of multi-line text in the center.

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

key : string The key of the RenderTexture in the Cache, if stored there. Inherited

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

getCanvas() → {HTMLCanvasElement} Creates a Canvas element, renders this RenderTexture to it and

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

characterSpacingY : number If the characters in the font set have vertical spacing between them set the required amount here.

2025-01-10 15:47:30