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.
image = new Image()
image.load("image.png")
image.resize(200, 200)
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) ```