public abstract class Image:
Represents a graphical image.
This class provides methods for loading and manipulating images.
@since 1.0
| Modifier and Type | Member | Description |
|---|---|---|
| public property | fileNamefileName as String |
No summary. |
| public readonly property | heightheight as Int: |
Gets the height of the image. |
| public readonly property | widthwidth as Int: |
Gets the width of the image. |
| Modifier and Type | Member | Description |
|---|---|---|
| public method | crop | Crops the image to the specified rectangle. |
| public static | getImagegetImage(filename as String): |
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 method | resize | Resizes the image to the specified size. |