data : Object An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be
characterSpacingX : number If the characters in the font set have horizontal spacing between them set the required amount here
align : string Controls the horizontal alignment for multiline text.Can be: 'left', 'center' or 'right'.Does not affect
crop :Rectangle This is the area of the BaseTexture image to actually copy to the Canvas / WebGL when rendering,irrespective
new RetroFont(game, key, characterWidth, characterHeight, chars, charsPerRow, xSpacing, ySpacing
frame : integer Gets or sets the current frame index of the texture being used to render this Game Object. To change the
shadowOffsetY : number The shadowOffsetY value in pixels. This is how far offset vertically the shadow effect will be.
stroke : string A canvas fillstyle that will be used on the text stroke eg 'blue', '#FCFF00'.
addChildAt(child, index) → {DisplayObject}
crop(rect, copy) Crop allows you to crop the texture being used to display this Game Object.Setting
Page 16 of 30