java.lang.Object
javafx.scene.SnapshotResult
public class SnapshotResult extends Object
This class holds the result of a snapshot operation.
- Since:
- JavaFX 2.2
- 
Method SummaryModifier and Type Method Description WritableImagegetImage()Gets the image generated by the snapshot operation.SnapshotParametersgetSnapshotParameters()Gets a copy of the SnapshotParameters used to generate the snapshot.ObjectgetSource()Gets the source Node or Scene on which the snapshot was called.
- 
Method Details- 
getImageGets the image generated by the snapshot operation.- Returns:
- the generated image
 
- 
getSourceGets the source Node or Scene on which the snapshot was called.- Returns:
- the source of the snapshot
 
- 
getSnapshotParametersGets a copy of the SnapshotParameters used to generate the snapshot. This will be null in the case of snapshot being called on a Scene.- Returns:
- a copy of the SnapshotParameters used to perform the snapshot, or null
 
 
-