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

getBase64() → {String} Will return a base64 encoded string of this texture. It works by calling

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

pasteLine(line, x, y, customSpacingX) Internal function that takes a single line of text (2nd parameter) and pastes it into the BitmapData

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

customSpacingX : number Adds horizontal spacing between each character of the font, in pixels.

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

height : number The height of the render texture Inherited From

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

resolution : number The Resolution of the texture. Inherited From

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

renderer : PIXI.CanvasRenderer |

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

[readonly] offsetY : number If the font set doesn't start at the top left of the given image

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

destroy(destroyBase) Destroys this texture Parameters Name

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

resize(width, height, updateBase) Resizes the RenderTexture. Parameters

2025-01-10 15:47:30