ScaleManager#pageAlignHorizontally

pageAlignHorizontally : boolean

When enabled the Display canvas will be horizontally-aligned in the Parent container (or window).

To align horizontally across the page the Display canvas should be added directly to page;
or the parent container should itself be horizontally aligned.

Horizontal alignment is not applicable with the RESIZE scaling mode.

Default Value
  • false
Source code: core/ScaleManager.js (Line 2244)
doc_phaser
2017-02-14 11:09:11
Comments
Leave a Comment

Please login to continue.