Phaser.Display.Align

Scope: static

Source: src/display/align/index.js#L10

Static functions

BOTTOM_CENTER

BOTTOM_CENTER: number

Description:

A constant representing a bottom-center alignment or position.

Source: src/display/align/const.js#L108
Since: 3.0.0


BOTTOM_LEFT

BOTTOM_LEFT: number

Description:

A constant representing a bottom-left alignment or position.

Source: src/display/align/const.js#L99
Since: 3.0.0


BOTTOM_RIGHT

BOTTOM_RIGHT: number

Description:

A constant representing a bottom-right alignment or position.

Source: src/display/align/const.js#L117
Since: 3.0.0


CENTER

CENTER: number

Description:

A constant representing a center alignment or position.

Source: src/display/align/const.js#L63
Since: 3.0.0


LEFT_BOTTOM

LEFT_BOTTOM: number

Description:

A constant representing a left-bottom alignment or position.

Source: src/display/align/const.js#L54
Since: 3.0.0


LEFT_CENTER

LEFT_CENTER: number

Description:

A constant representing a left-center alignment or position.

Source: src/display/align/const.js#L45
Since: 3.0.0


LEFT_TOP

LEFT_TOP: number

Description:

A constant representing a left-top alignment or position.

Source: src/display/align/const.js#L36
Since: 3.0.0


RIGHT_BOTTOM

RIGHT_BOTTOM: number

Description:

A constant representing a right-bottom alignment or position.

Source: src/display/align/const.js#L90
Since: 3.0.0


RIGHT_CENTER

RIGHT_CENTER: number

Description:

A constant representing a right-center alignment or position.

Source: src/display/align/const.js#L81
Since: 3.0.0


RIGHT_TOP

RIGHT_TOP: number

Description:

A constant representing a right-top alignment or position.

Source: src/display/align/const.js#L72
Since: 3.0.0


TOP_CENTER

TOP_CENTER: number

Description:

A constant representing a top-center alignment or position.

Source: src/display/align/const.js#L18
Since: 3.0.0


TOP_LEFT

TOP_LEFT: number

Description:

A constant representing a top-left alignment or position.

Source: src/display/align/const.js#L9
Since: 3.0.0


TOP_RIGHT

TOP_RIGHT: number

Description:

A constant representing a top-right alignment or position.

Source: src/display/align/const.js#L27
Since: 3.0.0


Static functions

Updated on