You’re reading the docs for Phaser v3.90.0. The latest is Phaser v4.1.0.

Scale

Phaser.Scale

CenterType

staticCenterType

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

staticOrientationType

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

staticScaleModeType

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

staticZoomType

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