Package | Description |
---|---|
javafx.embed.swing |
Provides the set of classes to use JavaFX inside Swing applications.
|
javafx.embed.swt |
Provides the set of classes to use JavaFX inside SWT applications.
|
javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
Modifier and Type | Method and Description |
---|---|
static WritableImage |
SwingFXUtils.toFXImage(BufferedImage bimg,
WritableImage wimg)
Snapshots the specified
BufferedImage and stores a copy of
its pixels into a JavaFX Image object, creating a new
object if needed. |
Modifier and Type | Method and Description |
---|---|
static WritableImage |
SwingFXUtils.toFXImage(BufferedImage bimg,
WritableImage wimg)
Snapshots the specified
BufferedImage and stores a copy of
its pixels into a JavaFX Image object, creating a new
object if needed. |
Modifier and Type | Method and Description |
---|---|
static WritableImage |
SWTFXUtils.toFXImage(org.eclipse.swt.graphics.ImageData imageData,
WritableImage image)
Snapshots the specified
ImageData and stores a copy of
its pixels into a JavaFX Image object, creating a new
object if needed. |
Modifier and Type | Method and Description |
---|---|
static WritableImage |
SWTFXUtils.toFXImage(org.eclipse.swt.graphics.ImageData imageData,
WritableImage image)
Snapshots the specified
ImageData and stores a copy of
its pixels into a JavaFX Image object, creating a new
object if needed. |
Modifier and Type | Method and Description |
---|---|
WritableImage |
SnapshotResult.getImage()
Gets the image generated by the snapshot operation.
|
WritableImage |
Node.snapshot(SnapshotParameters params,
WritableImage image)
Takes a snapshot of this node and returns the rendered image when
it is ready.
|
WritableImage |
Scene.snapshot(WritableImage image)
Takes a snapshot of this scene and returns the rendered image when
it is ready.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
WritableImage |
Node.snapshot(SnapshotParameters params,
WritableImage image)
Takes a snapshot of this node and returns the rendered image when
it is ready.
|
WritableImage |
Scene.snapshot(WritableImage image)
Takes a snapshot of this scene and returns the rendered image when
it is ready.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.