Skip to main content
Version: Phaser v3.88.2

Scale

CenterType​

<static> CenterType​

Phaser Scale Manager constants for centering the game canvas.

To find out what each mode does please see [Phaser.Scale.Center]{@link Phaser.Scale.Center}.

Type: Phaser.Scale.Center

Member of: Phaser.Scale

Source: src/scale/const/CENTER_CONST.js#L15
Since: 3.16.0


OrientationType​

<static> OrientationType​

Phaser Scale Manager constants for orientation.

To find out what each mode does please see [Phaser.Scale.Orientation]{@link Phaser.Scale.Orientation}.

Type: Phaser.Scale.Orientation

Member of: Phaser.Scale

Source: src/scale/const/ORIENTATION_CONST.js#L15
Since: 3.16.0


ScaleModeType​

<static> ScaleModeType​

Phaser Scale Manager constants for the different scale modes available.

To find out what each mode does please see [Phaser.Scale.ScaleModes]{@link Phaser.Scale.ScaleModes}.

Type: Phaser.Scale.ScaleModes

Member of: Phaser.Scale

Source: src/scale/const/SCALE_MODE_CONST.js#L15
Since: 3.16.0


ZoomType​

<static> ZoomType​

Phaser Scale Manager constants for zoom modes.

To find out what each mode does please see [Phaser.Scale.Zoom]{@link Phaser.Scale.Zoom}.

Type: Phaser.Scale.Zoom

Member of: Phaser.Scale

Source: src/scale/const/ZOOM_CONST.js#L15
Since: 3.16.0