API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfacePolygonLike

@codexo/exojs / math / stable

Structural type for any object that describes a polygon via a world-space offset `(x, y)` and an array of local-space PointLike vertices.

3
props
0
methods
0
events
Import
import { PolygonLike } from '@codexo/exojs'

Structural type for any object that describes a polygon via a world-space offset `(x, y)` and an array of local-space PointLike vertices.

Properties3
x: number
y: number
Source