ScaleManager#pageAlignHorizontally
  • References/Game Development/Phaser/Game Scaling/ScaleManager

pageAlignHorizontally : boolean When enabled the Display canvas will be horizontally-aligned in the Parent container (or

2025-01-10 15:47:30
ScaleManager#bounds
  • References/Game Development/Phaser/Game Scaling/ScaleManager

[readonly] bounds : Phaser.Rectangle

2025-01-10 15:47:30
ScaleManager#ScaleManager
  • References/Game Development/Phaser/Game Scaling/ScaleManager

new ScaleManager(game, width, height) Create a new ScaleManager object - this is done automatically by

2025-01-10 15:47:30
ScaleManager.RESIZE
  • References/Game Development/Phaser/Game Scaling/ScaleManager

[static] RESIZE : integer A scale mode that causes the Game size to change - see

2025-01-10 15:47:30
ScaleManager#screenOrientation
  • References/Game Development/Phaser/Game Scaling/ScaleManager

[readonly] screenOrientation : string The last known orientation of the screen, as

2025-01-10 15:47:30
ScaleManager#forceOrientation()
  • References/Game Development/Phaser/Game Scaling/ScaleManager

forceOrientation(forceLandscape, forcePortrait) Force the game to run in only one orientation. This

2025-01-10 15:47:30
ScaleManager#stopFullScreen()
  • References/Game Development/Phaser/Game Scaling/ScaleManager

stopFullScreen() → {boolean} Stops / exits fullscreen mode, if active. Returns

2025-01-10 15:47:30
ScaleManager#setMinMax()
  • References/Game Development/Phaser/Game Scaling/ScaleManager

setMinMax(minWidth, minHeight, maxWidth, maxHeight) Set the min and max

2025-01-10 15:47:30
ScaleManager#isGamePortrait
  • References/Game Development/Phaser/Game Scaling/ScaleManager

[readonly] isGamePortrait : boolean Returns true if the game dimensions are portrait (height

2025-01-10 15:47:30
ScaleManager#boundingParent
  • References/Game Development/Phaser/Game Scaling/ScaleManager

[readonly] boundingParent :DOMElement The DOM element that is considered the Parent bounding

2025-01-10 15:47:30