Provides the set of classes for loading and displaying images.
javafx.scene.image.Image class is used to load images
(synchronously or asynchronously). Image can be resized as it is loaded and
the resizing can be performed with specified filtering quality and
with an option of preserving image's original aspect ratio.
javafx.scene.image.ImageView is a Node used
for displaying images loaded with Image class.
It allows displaying a dynamically scaled and/or cropped view of the source
image. The scaling can be performed with specified filtering quality and
with an option of preserving image's original aspect ratio.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | PixelReader
This interface defines methods for retrieving the pixel data from an
|
| public interface | PixelWriter
This interface defines methods for writing the pixel data of a
|
| Modifier and Type | Class and Description |
|---|---|
| public class | Image
The |
| public class | |
| public class | PixelBuffer<
the type of T extends Buffer>Buffer that stores the pixel data.
Only ByteBuffer and IntBuffer are supported.The |
| public abstract class | PixelFormat<
the type of buffer that stores the pixel data. Only T extends Buffer>ByteBuffer and IntBuffer are used.A |
| public class | WritableImage
The |
| public abstract class | WritablePixelFormat<
the type of the buffer T extends Buffer>A |