public class ComparisonResult extends Object
| Constructor and Description |
|---|
ComparisonResult() |
| Modifier and Type | Method and Description |
|---|---|
Area |
getArea()
Gets the area.
|
String |
getComparisonStatus()
Gets the comparison status.
|
int |
getDifferentPixels()
Gets the different pixels.
|
BufferedImage |
getDiffImage()
Gets the diff image.
|
int |
getEqualPixels()
Gets the equal pixels.
|
int |
getMaskedPixels()
Gets the masked pixels.
|
int |
getPerceptibleDiffs()
Gets the perceptible diffs.
|
List<Rectangle> |
getRectangles()
Gets the rectangles.
|
int |
getSmallDifferences()
Gets the small differences.
|
int |
getTotalPixels()
Gets the total pixels.
|
boolean |
isEqualsImages()
Checks if is equals images.
|
void |
setArea(Area area)
Sets the area.
|
void |
setDifferentPixels(int differentPixels)
Sets the different pixels.
|
void |
setDiffImage(BufferedImage diffImage)
Sets the diff image.
|
void |
setEqualPixels(int equalPixels)
Sets the equal pixels.
|
void |
setEqualsImages(boolean equalsImages)
Sets the equals images.
|
void |
setMaskedPixels(int maskedPixels)
Sets the masked pixels.
|
void |
setPerceptibleDiffs(int perceptibleDiffs)
Sets the perceptible diffs.
|
void |
setSmallDifferences(int smallDifferences)
Sets the small differences.
|
void |
setTotalPixels(int totalPixels)
Sets the total pixels.
|
String |
toString() |
public boolean isEqualsImages()
public void setEqualsImages(boolean equalsImages)
equalsImages - the new equals imagespublic BufferedImage getDiffImage()
public void setDiffImage(BufferedImage diffImage)
diffImage - the new diff imagepublic List<Rectangle> getRectangles()
Gets the rectangles.
During first invocation of this method, new empty list of rectangles is created.
public Area getArea()
public void setArea(Area area)
area - the new areapublic int getTotalPixels()
public void setTotalPixels(int totalPixels)
totalPixels - the new total pixelspublic int getMaskedPixels()
public void setMaskedPixels(int maskedPixels)
maskedPixels - the new masked pixelspublic int getPerceptibleDiffs()
public void setPerceptibleDiffs(int perceptibleDiffs)
perceptibleDiffs - the new perceptible diffspublic int getDifferentPixels()
public void setDifferentPixels(int differentPixels)
differentPixels - the new different pixelspublic int getSmallDifferences()
public void setSmallDifferences(int smallDifferences)
smallDifferences - the new small differencespublic int getEqualPixels()
public void setEqualPixels(int equalPixels)
equalPixels - the new equal pixelspublic String getComparisonStatus()
Copyright © 2017 JBoss by Red Hat. All rights reserved.