Namespace: Zoom

Phaser.Scale. Zoom

Phaser Scale Manager constants for zoom modes.

Since: 3.16.0
Source: src/scale/const/ZOOM_CONST.js (Line 7)

Members


<static, constant> MAX_ZOOM :number

Calculate the zoom value based on the maximum multiplied game size that will fit into the parent, or browser window if no parent is set.

Type:
  • number
Since: 3.16.0
Source: src/scale/const/ZOOM_CONST.js (Line 57)

<static, constant> NO_ZOOM :number

The game canvas will not be zoomed by Phaser.

Type:
  • number
Since: 3.16.0
Source: src/scale/const/ZOOM_CONST.js (Line 27)

<static, constant> ZOOM_2X :number

The game canvas will be 2x zoomed by Phaser.

Type:
  • number
Since: 3.16.0
Source: src/scale/const/ZOOM_CONST.js (Line 37)

<static, constant> ZOOM_4X :number

The game canvas will be 4x zoomed by Phaser.

Type:
  • number
Since: 3.16.0
Source: src/scale/const/ZOOM_CONST.js (Line 47)