Appearance
Export and import scripts / Hm05Script / ScriptImage
Interface: ScriptImage
A picture made by api.render.
Properties
| Property | Type | Description |
|---|---|---|
canvas | OffscreenCanvas | draw on it freely (it is yours) |
height | number | - |
origin | Point | where the space's (0, 0) falls in the picture, in pixels — the pivot / registration point of a sprite |
region | Bounds | the area captured, in timeline (or, for render.object in "local" space, object) units |
scale | number | output pixels per unit |
width | number | - |