Skip to content

Documentation / spryte / Frame

Interface: Frame ​

Defined in: draw.ts:12

A rectangular region of an image, in source pixels.

Properties ​

h ​

h: number

Defined in: draw.ts:17


image ​

image: TextureSource

Defined in: draw.ts:13


w ​

w: number

Defined in: draw.ts:16


x ​

x: number

Defined in: draw.ts:14


y ​

y: number

Defined in: draw.ts:15