|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.ztl.util.image.DefaultComparator
public class DefaultComparator
A comparer class to compare two images.
| Constructor Summary | |
|---|---|
DefaultComparator(int comparex,
int comparey,
int leniency)
|
|
| Method Summary | |
|---|---|
java.awt.image.BufferedImage |
compare(java.awt.image.BufferedImage bi1,
java.awt.image.BufferedImage bi2)
Return whether the two images are the same. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultComparator(int comparex,
int comparey,
int leniency)
| Method Detail |
|---|
public java.awt.image.BufferedImage compare(java.awt.image.BufferedImage bi1,
java.awt.image.BufferedImage bi2)
Comparator
compare in interface Comparatorbi1 - the source of the base imagebi2 - the compared image.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||