RetroFont#type

type : number Base Phaser object type. Source code: gameobjects/RetroFont.js (Line 170)

RetroFont#updateOffset()

updateOffset(xOffset, yOffset) Updates the x and/or y offset that the font is rendered from. This updates all of the texture frames, so be careful how often it is called.Note that the values given for the x and y properties are either ADDED to or SUBTRACTED from (if negative) the existing offsetX/Y values of the characters.So if the current offsetY is 8 and you want it to start rendering from y16 you would call updateOffset(0, 8) to add 8 to the current y offset. Parameters Name Type Argumen

RetroFont#valid

valid : boolean Inherited From PIXI.RenderTexture#valid Source code: pixi/textures/RenderTexture.js (Line 125)

RetroFont#width

width : number The with of the render texture Inherited From PIXI.RenderTexture#width Source code: pixi/textures/RenderTexture.js (Line 37)

RetroFont.ALIGN_CENTER

[static] ALIGN_CENTER : string Align each line of multi-line text in the center. Source code: gameobjects/RetroFont.js (Line 196)

RetroFont.ALIGN_LEFT

[static] ALIGN_LEFT : string Align each line of multi-line text to the left. Source code: gameobjects/RetroFont.js (Line 182)

RetroFont.ALIGN_RIGHT

[static] ALIGN_RIGHT : string Align each line of multi-line text to the right. Source code: gameobjects/RetroFont.js (Line 189)

RetroFont.TEXT_SET1

[static] TEXT_SET1 : string Text Set 1 = !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{ | }~ Source code: gameobjects/RetroFont.js (Line 203)

RetroFont.TEXT_SET10

[static] TEXT_SET10 : string Text Set 10 = ABCDEFGHIJKLMNOPQRSTUVWXYZ Source code: gameobjects/RetroFont.js (Line 266)

RetroFont.TEXT_SET11

[static] TEXT_SET11 : string Text Set 11 = ABCDEFGHIJKLMNOPQRSTUVWXYZ.,"-+!?()':;0123456789 Source code: gameobjects/RetroFont.js (Line 273)