Phaser API Documentation

  Version: 
Filter
Namespace: Zoom
Phaser.Scale.Zoom

Members

<static, constant> MAX_ZOOM: number
Focus
Focus

Description:

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
Focus
Focus
<static, constant> NO_ZOOM: number
Focus
Focus

Description:

The game canvas will not be zoomed by Phaser.

Type:
number
Since: 3.16.0
Focus
Focus
<static, constant> ZOOM_2X: number
Focus
Focus

Description:

The game canvas will be 2x zoomed by Phaser.

Type:
number
Since: 3.16.0
Focus
Focus
<static, constant> ZOOM_4X: number
Focus
Focus

Description:

The game canvas will be 4x zoomed by Phaser.

Type:
number
Since: 3.16.0
Focus
Focus