Skip to content

Documentation / spryte / Frame

Interface: Frame ​

Defined in: draw.ts:9

A rectangular region of an image, in source pixels.

Properties ​

h ​

h: number

Defined in: draw.ts:14


image ​

image: TextureSource

Defined in: draw.ts:10


w ​

w: number

Defined in: draw.ts:13


x ​

x: number

Defined in: draw.ts:11


y ​

y: number

Defined in: draw.ts:12