RetroFont#renderXY()

renderXY(displayObject, x, y, clear) This function will draw the display object to the RenderTexture at the given coordinates. When the display object is drawn it takes into account scale and rotation. If you don't want those then use RenderTexture.renderRawXY instead. Parameters Name Type Argument Default Description displayObject Phaser.Sprite | Phaser.Image | Phaser.Text | Phaser.BitmapText | Phaser.Group The display object to render to this texture. x number The x position to

RetroFont#renderRawXY()

renderRawXY(displayObject, x, y, clear) This function will draw the display object to the RenderTexture at the given coordinates. When the display object is drawn it doesn't take into account scale, rotation or translation. If you need those then use RenderTexture.renderXY instead. Parameters Name Type Argument Default Description displayObject Phaser.Sprite | Phaser.Image | Phaser.Text | Phaser.BitmapText | Phaser.Group The display object to render to this texture. x number The

RetroFont#renderer

renderer : PIXI.CanvasRenderer | PIXI.WebGLRenderer The renderer this RenderTexture uses. A RenderTexture can only belong to one renderer at the moment if its webGL. Type PIXI.CanvasRenderer | PIXI.WebGLRenderer Inherited From PIXI.RenderTexture#renderer Source code: pixi/textures/RenderTexture.js (Line 99)

RetroFont#render()

render(displayObject, matrix, clear) This function will draw the display object to the RenderTexture. In versions of Phaser prior to 2.4.0 the second parameter was a Phaser.Point object.This is now a Matrix allowing you much more control over how the Display Object is rendered.If you need to replicate the earlier behavior please use Phaser.RenderTexture.renderXY instead. If you wish for the displayObject to be rendered taking its current scale, rotation and translation into account then eithe

RetroFont#pasteLine()

pasteLine(line, x, y, customSpacingX) Internal function that takes a single line of text (2nd parameter) and pastes it into the BitmapData at the given coordinates.Used by getLine and getMultiLine Parameters Name Type Description line string The single line of text to paste. x number The x coordinate. y number The y coordinate. customSpacingX number Custom X spacing. Source code: gameobjects/RetroFont.js (Line 420)

RetroFont#offsetY

[readonly] offsetY : number If the font set doesn't start at the top left of the given image, specify the Y coordinate offset here. Source code: gameobjects/RetroFont.js (Line 72)

RetroFont#offsetX

[readonly] offsetX : number If the font set doesn't start at the top left of the given image, specify the X coordinate offset here. Source code: gameobjects/RetroFont.js (Line 66)

RetroFont#noFrame

noFrame : boolean Does this Texture have any frame data assigned to it? Inherited From PIXI.Texture#noFrame Source code: pixi/textures/Texture.js (Line 28)

RetroFont#multiLine

multiLine : boolean If set to true all carriage-returns in text will form new lines (see align). If false the font will only contain one single line of text (the default) Source code: gameobjects/RetroFont.js (Line 83)

RetroFont#key

key : string The key of the RenderTexture in the Cache, if stored there. Inherited From Phaser.RenderTexture#key Source code: gameobjects/RenderTexture.js (Line 35)