scalafx.embed.swing.SwingFXUtils
Attributes
-
Since
-
8.0
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
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 parameters
-
bimg
-
an optional BufferedImage object that may be used to store the returned pixel data
-
img
-
the JavaFX Image to be converted
Attributes
-
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 parameters
-
bimg
-
the BufferedImage object to be converted
-
wimg
-
an optional WritableImage object that can be used to store the returned pixel data
Attributes
-
Returns
-
an Image object representing a snapshot of the current pixels in the BufferedImage.