Phaser API Documentation

  Version: 

Member of: Phaser.Structs.Size

<readonly> aspectMode: number

Description:

The aspect mode this Size component will use when calculating its dimensions. This property is read-only. To change it use the setAspectMode method.

Type:
number
Since: 3.16.0
Source: src/structs/Size.js (Line 71)