public class LAB implements ConvertibleColor
ConvertibleColor.DefaultImpls| Constructor and Description |
|---|
LAB(double l,
double a,
double b)
CIE LAB color space.
|
| Modifier and Type | Method and Description |
|---|---|
double |
component1() |
double |
component2() |
double |
component3() |
LAB |
copy(double l,
double a,
double b)
CIE LAB color space.
|
boolean |
equals(java.lang.Object p) |
double |
getA() |
double |
getB() |
double |
getL() |
int |
hashCode() |
LAB |
toLAB()
Convert this color to CIE LAB
|
RGB |
toRGB()
Convert this color to Red-Green-Blue (using sRGB color space)
|
java.lang.String |
toString() |
XYZ |
toXYZ()
Convert this color to CIE XYZ
|
public RGB toRGB()
Convert this color to Red-Green-Blue (using sRGB color space)
public XYZ toXYZ()
Convert this color to CIE XYZ
public LAB toLAB()
Convert this color to CIE LAB
public double getL()
public double getA()
public double getB()
public double component1()
public double component2()
public double component3()
public LAB copy(double l, double a, double b)
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)