javafx.scene.image.package.html Maven / Gradle / Ivy
javafx.scene.image
Provides the set of classes for loading and displaying images.
- The {@link 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.
- The {@link javafx.scene.image.ImageView} is a {@code Node} used
for displaying images loaded with {@code 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.