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.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.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