arcade2d
Interface

PointPrimitive

geometry/point.types.ts:7

Plain structural shape used for any { x, y } value the engine accepts — including the Point class itself and bare object literals like { x: 100, y: 200 }. Methods that consume coordinates accept this rather than Point so callers don't have to allocate when a literal is enough.

Properties

#
x: number

The horizontal value of the point.

#
y: number

The vertical value of the point.

ESC