IImageInfo script interface
The IImageInfo interface represents an image in the project. It is also the base class of IAnimationFrame.
IImageInfo APIs
- width
- height
- getSize()
- Read-only numbers specifying the dimensions of the image in pixels. The method returns both values at the same time.
- async toCanvas()
- Extract the image content for this image to either a HTMLCanvasElement (in DOM mode) or OffscreenCanvas (in worker mode). The method is async and so returns a Promise that resolves with the canvas.
Construct 3 Manual
Construct.net
2022-02-28
2026-07-22
You are here:
Search this manual:
This manual entry was last updated on 22 Jul, 2026 at 12:57