be.lassi.domain
Class Hsb
java.lang.Object
be.lassi.domain.Hsb
public class Hsb
- extends java.lang.Object
Color specification using hue, saturation and brightness values.
Constructor Summary |
Hsb(float hue,
float saturation,
float brightness)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Hsb
public Hsb(float hue,
float saturation,
float brightness)
equals
public boolean equals(java.lang.Object object)
-
- Overrides:
equals
in class java.lang.Object
getBrightness
public float getBrightness()
getHue
public float getHue()
getSaturation
public float getSaturation()
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
-
- Overrides:
toString
in class java.lang.Object