Phaser API Documentation

  Version: 
Filter
This is a beta release of our new docs system. Found an issue?
Please tell us about it in the #📖-newdocs-feedback channel on the Phaser Discord
Namespace: ScaleModes
Phaser.ScaleModes
Source: src/renderer/ScaleModes.js (Line 7)

Members

<static, readonly> DEFAULT: number
Focus
Focus

Description:

Default Scale Mode (Linear).

Type:
number
Since: 3.0.0
Focus
Focus
<static, readonly> LINEAR: number
Focus
Focus

Description:

Linear Scale Mode.

Type:
number
Since: 3.0.0
Focus
Focus
<static, readonly> NEAREST: number
Focus
Focus

Description:

Nearest Scale Mode.

Type:
number
Since: 3.0.0
Focus
Focus