public class XYZ implements ConvertibleColor
CIE XYZ color space.
Conversions use D65 reference white, and sRGB profile.
x, y, and z are generally in the interval 0,100, but may be larger
ConvertibleColor.DefaultImpls| Constructor and Description |
|---|
XYZ(double x,
double y,
double z)
CIE XYZ color space.
|
| Modifier and Type | Method and Description |
|---|---|
double |
component1() |
double |
component2() |
double |
component3() |
XYZ |
copy(double x,
double y,
double z)
CIE XYZ color space.
|
boolean |
equals(java.lang.Object p) |
double |
getX() |
double |
getY() |
double |
getZ() |
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() |
public RGB toRGB()
Convert this color to Red-Green-Blue (using sRGB color space)
public LAB toLAB()
Convert this color to CIE LAB
public double getX()
public double getY()
public double getZ()
public double component1()
public double component2()
public double component3()
public XYZ copy(double x, double y, double z)
CIE XYZ color space.
Conversions use D65 reference white, and sRGB profile.
x, y, and z are generally in the interval 0,100, but may be larger
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)