Class DesignerSnapshotCompare.Result
java.lang.Object
com.iizigo.panel.DesignerSnapshotCompare.Result
- Enclosing class:
DesignerSnapshotCompare
The result of a comparison.
- Author:
- Christopher Mindus
Field Summary
FieldsModifier and TypeFieldDescriptionfinal RectangleThe bounding box of the differing pixels in image pixels, null when none differ.final intThe count of differing pixels, those inside a rectangle that is left out not counted.final intThe count of differing pixels inside the rectangles that are left out: what the page paints for the pointer or for a moment (the pointer's cross hair, a hover, a flash).final booleanFlag for a comparison that could be made.final ImageDataThe difference mask: a 1-bit image, index 1 (black) where the pixels differ, null when not requested or not comparable.final StringThe reason when not comparable, null otherwise.Method Summary
Field Details
isComparable
public final boolean isComparableFlag for a comparison that could be made.reason
The reason when not comparable, null otherwise.differing
public final int differingThe count of differing pixels, those inside a rectangle that is left out not counted.ignored
public final int ignoredThe count of differing pixels inside the rectangles that are left out: what the page paints for the pointer or for a moment (the pointer's cross hair, a hover, a flash).box
The bounding box of the differing pixels in image pixels, null when none differ.mask
The difference mask: a 1-bit image, index 1 (black) where the pixels differ, null when not requested or not comparable.
Method Details
toString