Skip to main content
Version: Phaser v4.0.0-rc.6

Phaser.Geom

Scope: static

Source: src/geom/index.js#L10

Static functions

Static functions

CIRCLE

CIRCLE: number

Description:

A Circle Geometry object type.

Source: src/geom/const.js#L9
Since: 3.19.0


ELLIPSE

ELLIPSE: number

Description:

An Ellipse Geometry object type.

Source: src/geom/const.js#L18
Since: 3.19.0


LINE

LINE: number

Description:

A Line Geometry object type.

Source: src/geom/const.js#L27
Since: 3.19.0


POINT

POINT: number

Description:

A Point Geometry object type.

This object type was removed in 4.0.0. Use Vector2 instead.

Source: src/geom/const.js#L36
Since: 3.19.0


POLYGON

POLYGON: number

Description:

A Polygon Geometry object type.

Source: src/geom/const.js#L46
Since: 3.19.0


RECTANGLE

RECTANGLE: number

Description:

A Rectangle Geometry object type.

Source: src/geom/const.js#L55
Since: 3.19.0


TRIANGLE

TRIANGLE: number

Description:

A Triangle Geometry object type.

Source: src/geom/const.js#L64
Since: 3.19.0


Static functions