Package javafx.scene

Class SnapshotResult

  • public class SnapshotResult
    extends Object
    This class holds the result of a snapshot operation.
    JavaFX 2.2
    • Method Detail

      • getImage

        public WritableImage getImage()
        Gets the image generated by the snapshot operation.
        the generated image
      • getSource

        public Object getSource()
        Gets the source Node or Scene on which the snapshot was called.
        the source of the snapshot
      • getSnapshotParameters

        public SnapshotParameters getSnapshotParameters()
        Gets a copy of the SnapshotParameters used to generate the snapshot. This will be null in the case of snapshot being called on a Scene.
        a copy of the SnapshotParameters used to perform the snapshot, or null