public abstract resize(width as Int, height as Int) as Void
Resizes the logical image area.
Raster images keep the same decoded source and update the logical render dimensions. SVG images update their logical viewBox size, preserving the current viewBox origin.
| Parameter | Description |
|---|---|
width | The new width of the image. |
height | The new height of the image. |
image = Image.getImage("image.bmp")
image.resize(200, 200)