-
- All Superinterfaces:
ColorMatcher
- All Known Implementing Classes:
PixelMatcherBase
,PixelMatcherRgb
public interface PixelMatcher extends ColorMatcher
-
-
Method Summary
Modifier and Type Method Description javafx.scene.image.WritableImage
createEmptyMatchImage(javafx.scene.image.Image image0, javafx.scene.image.Image image1)
Creates a newWritableImage
usingimage0
's width andimage1
's height.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.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.PixelMatcherResult
match(javafx.scene.image.Image image0, javafx.scene.image.Image image1)
Returns aPixelMatcherResult
that indicates how similar/dissimilar the two images were.-
Methods inherited from interface org.testfx.service.support.ColorMatcher
matchColors
-
-
-
-
Method Detail
-
match
PixelMatcherResult match(javafx.scene.image.Image image0, javafx.scene.image.Image image1)
Returns aPixelMatcherResult
that 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 newWritableImage
usingimage0
'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.
-
-