Image
Image represents a loaded image with dimensions and loading state.
constructor
Creates a new image from a URL with optional caching.
java
Image image = new Image(String url, boolean cache);getDimensions
Returns the image dimensions as a float array.
java
float[] dimensions = image.getDimensions();isLoaded
Returns true if the image has finished loading.
java
boolean loaded = image.isLoaded();