SpriteImage
A sprite’s image as a texture holds it: a decoded file or a painted texture’s pixels, read for its size.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
height |
number |
Its height in pixels. |
width |
number |
Its width in pixels. |