SwingFXUtils
Wraps JavaFX SwingFXUtils.
Wraps JavaFX SwingFXUtils.
- Since
8.0
Value members
Concrete methods
Snapshots the specified ScalaFX Image object and stores a copy of its pixels into a BufferedImage object, creating a new object if needed.
Snapshots the specified ScalaFX Image object and stores a copy of its pixels into a BufferedImage object, creating a new object if needed.
- Value Params
- bimg
an optional BufferedImage object that may be used to store the returned pixel data
- img
the JavaFX Image to be converted
- Returns
a BufferedImage containing a snapshot of the JavaFX Image, or
null
if the Image is not readable.
Snapshots the specified BufferedImage and stores a copy of its pixels into a ScalaFX Image object, creating a new object if needed.
Snapshots the specified BufferedImage and stores a copy of its pixels into a ScalaFX Image object, creating a new object if needed.
- Value Params
- bimg
the BufferedImage object to be converted
- wimg
an optional WritableImage object that can be used to store the returned pixel data
- Returns
an Image object representing a snapshot of the current pixels in the BufferedImage.