resolution : number The Resolution of the texture. Inherited From
characterSpacingX : number If the characters in the font set have horizontal spacing between them set the required amount here
new RetroFont(game, key, characterWidth, characterHeight, chars, charsPerRow, xSpacing, ySpacing
renderer : PIXI.CanvasRenderer |
pasteLine(line, x, y, customSpacingX) Internal function that takes a single line of text (2nd parameter) and pastes it into the BitmapData
customSpacingX : number Adds horizontal spacing between each character of the font, in pixels.
getBase64() → {String} Will return a base64 encoded string of this texture. It works by calling
game : Phaser.Game A reference to the currently running game
key : string The key of the RenderTexture in the Cache, if stored there. Inherited
isTiling : boolean Is this a tiling texture? As used by the likes of a TilingSprite.
Page 4 of 7