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: Align
Phaser.Display.Align

Namespace

Members

<static, constant> BOTTOM_CENTER: number
Focus
Focus

Description:

A constant representing a bottom-center alignment or position.

Type:
number
Since: 3.0.0
Focus
Focus
<static, constant> BOTTOM_LEFT: number
Focus
Focus

Description:

A constant representing a bottom-left alignment or position.

Type:
number
Since: 3.0.0
Focus
Focus
<static, constant> BOTTOM_RIGHT: number
Focus
Focus

Description:

A constant representing a bottom-right alignment or position.

Type:
number
Since: 3.0.0
Focus
Focus
<static, constant> CENTER: number
Focus
Focus

Description:

A constant representing a center alignment or position.

Type:
number
Since: 3.0.0
Focus
Focus
<static, constant> LEFT_BOTTOM: number
Focus
Focus

Description:

A constant representing a left-bottom alignment or position.

Type:
number
Since: 3.0.0
Focus
Focus
<static, constant> LEFT_CENTER: number
Focus
Focus

Description:

A constant representing a left-center alignment or position.

Type:
number
Since: 3.0.0
Focus
Focus
<static, constant> LEFT_TOP: number
Focus
Focus

Description:

A constant representing a left-top alignment or position.

Type:
number
Since: 3.0.0
Focus
Focus
<static, constant> RIGHT_BOTTOM: number
Focus
Focus

Description:

A constant representing a right-bottom alignment or position.

Type:
number
Since: 3.0.0
Focus
Focus
<static, constant> RIGHT_CENTER: number
Focus
Focus

Description:

A constant representing a right-center alignment or position.

Type:
number
Since: 3.0.0
Focus
Focus
<static, constant> RIGHT_TOP: number
Focus
Focus

Description:

A constant representing a right-top alignment or position.

Type:
number
Since: 3.0.0
Focus
Focus
<static, constant> TOP_CENTER: number
Focus
Focus

Description:

A constant representing a top-center alignment or position.

Type:
number
Since: 3.0.0
Focus
Focus
<static, constant> TOP_LEFT: number
Focus
Focus

Description:

A constant representing a top-left alignment or position.

Type:
number
Since: 3.0.0
Source: src/display/align/const.js (Line 9)
Focus
Focus
<static, constant> TOP_RIGHT: number
Focus
Focus

Description:

A constant representing a top-right alignment or position.

Type:
number
Since: 3.0.0
Focus
Focus