pasteLine(line, x, y, customSpacingX) Internal function that takes a single line of text (2nd parameter) and pastes it into the BitmapData
renderRawXY(displayObject, x, y, clear) This function will draw the display object to the RenderTexture
new RetroFont(game, key, characterWidth, characterHeight, chars, charsPerRow, xSpacing, ySpacing
renderer : PIXI.CanvasRenderer |
crop :Rectangle This is the area of the BaseTexture image to actually copy to the Canvas / WebGL when rendering,irrespective
getBase64() → {String} Will return a base64 encoded string of this texture. It works by calling
height : number The height of the render texture Inherited From
resize(width, height, updateBase) Resizes the RenderTexture. Parameters
game : Phaser.Game A reference to the currently running game
getLongestLine() → {number} Works out the longest line of text in _text and returns its length
Page 4 of 7