klyn.gui.images.Image.resize
method
public method resize(width as Int, height as Int) as Void:
Description

Resizes the image to the specified size.

Parameters
  • width The new width of the image.
  • height The new height of the image. ``` image = new Image() image.load("image.png") image.resize(200, 200) ```