| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| public static BufferedImage | Returns: aBufferedImage containing a snapshot of the JavaFX
Image, or null if the Image is not readable.the JavaFX img, BufferedImage Image to be convertedan optional bimg)BufferedImage object that may be
used to store the returned pixel dataSnapshots the specified JavaFX |
| private static WritablePixelFormat | getAssociatedPixelFormat(BufferedImage
the BufferedImage that will be used as a destination for
a bimg)PixelReader<IntBuffer>#getPixels() operation.Determine the appropriate |
| pack-priv static int | getBestBufferedImageType(PixelFormat<?>
the PixelFormat of the source FX Image fxFormat, BufferedImage an optional existing bimg, boolean isOpaque)BufferedImage to be used
for storage if it is compatible, or nullDetermine the optimal BufferedImage type to use for the specified
|
| public static WritableImage | Returns: anImage object representing a snapshot of the
current pixels in the BufferedImage.the bimg, WritableImage BufferedImage object to be convertedan optional wimg)WritableImage object that can be
used to store the returned pixel dataSnapshots the specified |
| SwingFXUtils | back to summary |
|---|---|
| private SwingFXUtils() | |
| checkFXImageOpaque | back to summary |
|---|---|
| private static boolean checkFXImageOpaque(PixelReader pr, int iw, int ih) | |
| fromFXImage | back to summary |
|---|---|
| public static BufferedImage fromFXImage(Image img, BufferedImage bimg) Snapshots the specified JavaFX
The optional
| |
| getAssociatedPixelFormat | back to summary |
|---|---|
| private static WritablePixelFormat Determine the appropriate
| |
| getBestBufferedImageType | back to summary |
|---|---|
| pack-priv static int getBestBufferedImageType(PixelFormat<?> fxFormat, BufferedImage bimg, boolean isOpaque) Determine the optimal BufferedImage type to use for the specified
| |
| toFXImage | back to summary |
|---|---|
| public static WritableImage toFXImage(BufferedImage bimg, WritableImage wimg) Snapshots the specified
The optional JavaFX
| |