public override resize(width as Int, height as Int) as Void
Resizes the logical SVG viewBox.
The SVG remains vectorial. The viewBox origin is preserved and only its width and height are changed.
| Parameter | Description |
|---|---|
width | Preferred width. |
height | Preferred height. |
icon.resize(32, 32) assert icon.width == 32 assert icon.height == 32