-
- All Known Implementing Classes:
CaptureSupportImpl
public interface CaptureSupport
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImageannotateImage(Shape shape, Image image)NOT YET IMPLEMENTEDImagecaptureNode(Node node)Returns a snapshot of the node.ImagecaptureRegion(Rectangle2D region)Returns a screenshot of the given region.ImageloadImage(Path path)Loads the image file from the given path.PixelMatcherResultmatchImages(Image image0, Image image1, PixelMatcher pixelMatcher)Compares two images and returns aPixelMatcherResultthat defines the how similar/dissimilar one was from the other.voidsaveImage(Image image, Path path)Saves the given image to the given path.
-
-
-
Method Detail
-
captureRegion
Image captureRegion(Rectangle2D region)
Returns a screenshot of the given region.
-
matchImages
PixelMatcherResult matchImages(Image image0, Image image1, PixelMatcher pixelMatcher)
Compares two images and returns aPixelMatcherResultthat defines the how similar/dissimilar one was from the other.
-
-