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> MAX_ZOOM

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.

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

<static> NO_ZOOM

The game canvas will not be zoomed by Phaser.

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

<static> ZOOM_2X

The game canvas will be 2x zoomed by Phaser.

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

<static> ZOOM_4X

The game canvas will be 4x zoomed by Phaser.

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