j2d.color
Class Pixel
java.lang.Object
j2d.color.Pixel
- All Implemented Interfaces:
- Comparable2
public class Pixel
- extends java.lang.Object
- implements Comparable2
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
equals
public boolean equals(java.lang.Object p)
- Specified by:
equals
in interface Comparable2
- Overrides:
equals
in class java.lang.Object
distance
public double distance(Pixel p1)
isGreater
public boolean isGreater(java.lang.Object p)
- Specified by:
isGreater
in interface Comparable2
isLess
public boolean isLess(java.lang.Object p)
- Specified by:
isLess
in interface Comparable2
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object