public abstract class Image:
Represents a graphical image.
This class provides methods for loading and manipulating images.
Use Image.getImage(...) when the concrete image class should be selected from the file extension.
| Modifier and Type | Member | Description |
|---|---|---|
| public property | fileNamefileName as String |
No summary. |
| public abstract readonly property | heightheight as Int |
Gets the height of the image. |
| public abstract readonly property | widthwidth as Int |
Gets the width of the image. |
| Modifier and Type | Member | Description |
|---|---|---|
| public abstract | crop | Crops the logical image area. |
| public static | getImage | Factory method to get an image instance based on the file extension. |
| public abstract | loadload(filename as String) as Void |
Loads an image from a file. |
| public abstract | resize | Resizes the logical image area. |