Construct a new Image with the specified parameters.
Construct a new Image with the specified parameters.
Construct a new Image with the specified parameters.
Construct an Image which pixels are loaded from the specified url.
Construct a new Image with the specified parameters.
Construct an Image which pixels are loaded from the specified input stream.
Indicates whether the image is being loaded in the background.
Cancels the background loading of this image.
JavaFX object to be wrapped.
JavaFX object to be wrapped.
Indicates whether an error was detected while loading an image.
The image height or 0 if the image loading fails.
This method returns a Option of scalafx.scene.image.PixelReader that provides access to read the pixels of the image, if the image is readable.
Indicates whether to preserve the aspect ratio of the original image when
scaling to fit the image within the bounding box provided by width
and
height
.
The approximate percentage of image's loading that has been completed.
Indicates whether to use a better quality filtering algorithm or a faster
one when scaling this image to fit within the bounding box provided by
width
and height
.
The image width or 0 if the image loading fails.