Module org.testfx

Interface CaptureSupport

    • Method Detail

      • captureNode

        Image captureNode​(Node node)
        Returns a snapshot of the node.
      • captureRegion

        Image captureRegion​(Rectangle2D region)
        Returns a screenshot of the given region.
      • loadImage

        Image loadImage​(Path path)
        Loads the image file from the given path.
      • saveImage

        void saveImage​(Image image,
                       Path path)
        Saves the given image to the given path.
      • annotateImage

        Image annotateImage​(Shape shape,
                            Image image)
        NOT YET IMPLEMENTED