klyn.gui.images.Image.getImage
method
public static getImage(filename as String):
Description
Factory method to get an image instance based on the file extension.
image = Image.getImage("image.png")
Parameters
  • filename The filename of the image.
Returns
An instance of the appropriate image class. ``` image = Image.getImage("image.png") ```