renderRawXY(displayObject, x, y, clear) This function will draw the display object to the RenderTexture
characterSpacingX : number If the characters in the font set have horizontal spacing between them set the required amount here
height : number The height of the render texture Inherited From
new RetroFont(game, key, characterWidth, characterHeight, chars, charsPerRow, xSpacing, ySpacing
resolution : number The Resolution of the texture. Inherited From
getBase64() → {String} Will return a base64 encoded string of this texture. It works by calling
pasteLine(line, x, y, customSpacingX) Internal function that takes a single line of text (2nd parameter) and pastes it into the BitmapData
resize(width, height, updateBase) Resizes the RenderTexture. Parameters
destroy(destroyBase) Destroys this texture Parameters Name
getCanvas() → {HTMLCanvasElement} Creates a Canvas element, renders this RenderTexture to it and
Page 4 of 7