Phaser API Documentation

  Version: 
autoRound: boolean

Description:

If set, the canvas sizes will be automatically passed through Math.floor. This results in rounded pixel display values, which is important for performance on legacy and low powered devices, but at the cost of not achieving a 'perfect' fit in some browser windows.

Type:
boolean
Since: 3.16.0