RetroFont#fixedWidth

fixedWidth : number If you need this RetroFont image to have a fixed width you can set the width in this value.If text is wider than the width specified it will be cropped off. Source code: gameobjects/RetroFont.js (Line 108)

RetroFont#destroy()

destroy(destroyBase) Destroys this texture Parameters Name Type Description destroyBase Boolean Whether to destroy the base texture as well Inherited From PIXI.Texture#destroy Source code: pixi/textures/Texture.js (Line 165)

RetroFont#customSpacingY

customSpacingY : number Adds vertical spacing between each line of multi-line text, set in pixels. Source code: gameobjects/RetroFont.js (Line 101)

RetroFont#customSpacingX

customSpacingX : number Adds horizontal spacing between each character of the font, in pixels. Source code: gameobjects/RetroFont.js (Line 95)

RetroFont#crop

crop :Rectangle This is the area of the BaseTexture image to actually copy to the Canvas / WebGL when rendering,irrespective of the actual frame size or placement (which can be influenced by trimmed texture atlases) Inherited From PIXI.RenderTexture#crop Source code: pixi/textures/RenderTexture.js (Line 69)

RetroFont#clear()

clear() Clears the RenderTexture. Inherited From PIXI.RenderTexture#clear Source code: pixi/textures/RenderTexture.js (Line 175)

RetroFont#characterWidth

characterWidth : number The width of each character in the font set. Source code: gameobjects/RetroFont.js (Line 40)

RetroFont#characterSpacingY

characterSpacingY : number If the characters in the font set have vertical spacing between them set the required amount here. Source code: gameobjects/RetroFont.js (Line 55)

RetroFont#characterSpacingX

characterSpacingX : number If the characters in the font set have horizontal spacing between them set the required amount here. Source code: gameobjects/RetroFont.js (Line 50)

RetroFont#characterPerRow

characterPerRow : number The number of characters per row in the font set. Source code: gameobjects/RetroFont.js (Line 60)