Uses of Class
javafx.scene.image.WritableImage
Package
Description
Provides the core set of base
classes for the JavaFX Scene Graph API.
Provides API for simulating user interaction such as typing keys on the keyboard and using the mouse.
-
Uses of WritableImage in javafx.embed.swing
Modifier and TypeMethodDescriptionstatic WritableImage
SwingFXUtils.toFXImage
(BufferedImage bimg, WritableImage wimg) Snapshots the specifiedBufferedImage
and stores a copy of its pixels into a JavaFXImage
object, creating a new object if needed.Modifier and TypeMethodDescriptionstatic WritableImage
SwingFXUtils.toFXImage
(BufferedImage bimg, WritableImage wimg) Snapshots the specifiedBufferedImage
and stores a copy of its pixels into a JavaFXImage
object, creating a new object if needed. -
Uses of WritableImage in javafx.scene
Modifier and TypeMethodDescriptionSnapshotResult.getImage()
Gets the image generated by the snapshot operation.Node.snapshot
(SnapshotParameters params, WritableImage image) Takes a snapshot of this node and returns the rendered image when it is ready.Scene.snapshot
(WritableImage image) Takes a snapshot of this scene and returns the rendered image when it is ready.Modifier and TypeMethodDescriptionNode.snapshot
(SnapshotParameters params, WritableImage image) Takes a snapshot of this node and returns the rendered image when it is ready.void
Node.snapshot
(Callback<SnapshotResult, Void> callback, SnapshotParameters params, WritableImage image) Takes a snapshot of this node at the next frame and calls the specified callback method when the image is ready.Scene.snapshot
(WritableImage image) Takes a snapshot of this scene and returns the rendered image when it is ready.void
Scene.snapshot
(Callback<SnapshotResult, Void> callback, WritableImage image) Takes a snapshot of this scene at the next frame and calls the specified callback method when the image is ready. -
Uses of WritableImage in javafx.scene.robot
Modifier and TypeMethodDescriptionRobot.getScreenCapture
(WritableImage image, double x, double y, double width, double height) Returns aWritableImage
containing the specified rectangular area relative to the primary screen.Robot.getScreenCapture
(WritableImage image, double x, double y, double width, double height, boolean scaleToFit) Returns aWritableImage
containing the specified rectangular area relative to the primary screen.Robot.getScreenCapture
(WritableImage image, Rectangle2D region) Returns aWritableImage
containing the specified rectangular area relative to the primary screen.Robot.getScreenCapture
(WritableImage image, Rectangle2D region, boolean scaleToFit) Returns aWritableImage
containing the specified rectangular area relative to the primary screen.Modifier and TypeMethodDescriptionRobot.getScreenCapture
(WritableImage image, double x, double y, double width, double height) Returns aWritableImage
containing the specified rectangular area relative to the primary screen.Robot.getScreenCapture
(WritableImage image, double x, double y, double width, double height, boolean scaleToFit) Returns aWritableImage
containing the specified rectangular area relative to the primary screen.Robot.getScreenCapture
(WritableImage image, Rectangle2D region) Returns aWritableImage
containing the specified rectangular area relative to the primary screen.Robot.getScreenCapture
(WritableImage image, Rectangle2D region, boolean scaleToFit) Returns aWritableImage
containing the specified rectangular area relative to the primary screen.