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 :integer

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:
  • integer
Since: 3.16.0
Source: src/scale/const/ZOOM_CONST.js (Line 57)

<static, constant> NO_ZOOM :integer

The game canvas will not be zoomed by Phaser.

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

<static, constant> ZOOM_2X :integer

The game canvas will be 2x zoomed by Phaser.

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

<static, constant> ZOOM_4X :integer

The game canvas will be 4x zoomed by Phaser.

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