Package org.testfx.service.support
Interface PixelMatcher
- All Superinterfaces:
ColorMatcher
- All Known Implementing Classes:
PixelMatcherBase,PixelMatcherRgb
-
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.image.WritableImagecreateEmptyMatchImage(javafx.scene.image.Image image0, javafx.scene.image.Image image1) Creates a newWritableImageusingimage0's width andimage1's height.javafx.scene.paint.ColorcreateMatchColor(javafx.scene.paint.Color color0, javafx.scene.paint.Color color1) Creates a color that represents a match between the two images' pixels.default javafx.scene.paint.ColorcreateNonMatchColor(javafx.scene.paint.Color color0, javafx.scene.paint.Color color1) Creates a color that represents a mismatch between the two images' pixels.match(javafx.scene.image.Image image0, javafx.scene.image.Image image1) Returns aPixelMatcherResultthat indicates how similar/dissimilar the two images were.Methods inherited from interface org.testfx.service.support.ColorMatcher
matchColors
-
Method Details
-
match
Returns aPixelMatcherResultthat indicates how similar/dissimilar the two images were. -
createEmptyMatchImage
javafx.scene.image.WritableImage createEmptyMatchImage(javafx.scene.image.Image image0, javafx.scene.image.Image image1) Creates a newWritableImageusingimage0's width andimage1's height. -
createMatchColor
javafx.scene.paint.Color createMatchColor(javafx.scene.paint.Color color0, javafx.scene.paint.Color color1) Creates a color that represents a match between the two images' pixels. -
createNonMatchColor
default javafx.scene.paint.Color createNonMatchColor(javafx.scene.paint.Color color0, javafx.scene.paint.Color color1) Creates a color that represents a mismatch between the two images' pixels.
-