Skip to main content
Version: Phaser v3.88.2

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.

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


POLYGON​

POLYGON: number​

Description:

A Polygon Geometry object type.

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


RECTANGLE​

RECTANGLE: number​

Description:

A Rectangle Geometry object type.

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


TRIANGLE​

TRIANGLE: number​

Description:

A Triangle Geometry object type.

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


Static functions​