forceOrientation(forceLandscape, forcePortrait) Force the game to run in only one orientation. This
[readonly] screenOrientation : string The last known orientation of the screen, as
new ScaleManager(game, width, height) Create a new ScaleManager object - this is done automatically by
pageAlignHorizontally : boolean When enabled the Display canvas will be horizontally-aligned in the Parent container (or
[static] RESIZE : integer A scale mode that causes the Game size to change - see
[readonly] bounds : Phaser.Rectangle
onFullScreenChange : Phaser.Signal This signal is
[readonly] aspectRatio : number The aspect ratio of the scaled Display canvas.
[readonly] isGamePortrait : boolean Returns true if the game dimensions are portrait (height
[readonly] width : number Target width (in pixels) of the Display canvas.
Page 1 of 5