public class CMYKNominalColorSpace extends java.awt.color.ColorSpace implements NamedColorSpace
ColorSpace
for CMYK color components (cyan, magenta, yellow, black) with
nominally converted color components from/to an RGB color model.
This model may not be very useful. It assumes that the color components perfectly absorb the desired wavelenghts.
CS_CIEXYZ, CS_GRAY, CS_LINEAR_RGB, CS_PYCC, CS_sRGB, TYPE_2CLR, TYPE_3CLR, TYPE_4CLR, TYPE_5CLR, TYPE_6CLR, TYPE_7CLR, TYPE_8CLR, TYPE_9CLR, TYPE_ACLR, TYPE_BCLR, TYPE_CCLR, TYPE_CMY, TYPE_CMYK, TYPE_DCLR, TYPE_ECLR, TYPE_FCLR, TYPE_GRAY, TYPE_HLS, TYPE_HSV, TYPE_Lab, TYPE_Luv, TYPE_RGB, TYPE_XYZ, TYPE_YCbCr, TYPE_Yxy
Constructor and Description |
---|
CMYKNominalColorSpace() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
float[] |
fromCIEXYZ(float[] colorvalue) |
float[] |
fromRGB(float[] rgbvalue) |
static CMYKNominalColorSpace |
getInstance() |
float |
getMaxValue(int component) |
float |
getMinValue(int component) |
java.lang.String |
getName() |
java.lang.String |
getName(int idx) |
int |
hashCode() |
float[] |
toCIEXYZ(float[] colorvalue) |
float[] |
toRGB(float[] component) |
public static CMYKNominalColorSpace getInstance()
public float[] toRGB(float[] component)
toRGB
in class java.awt.color.ColorSpace
public float[] fromRGB(float[] rgbvalue)
fromRGB
in class java.awt.color.ColorSpace
public float[] toCIEXYZ(float[] colorvalue)
toCIEXYZ
in class java.awt.color.ColorSpace
public float[] fromCIEXYZ(float[] colorvalue)
fromCIEXYZ
in class java.awt.color.ColorSpace
public java.lang.String getName(int idx)
getName
in class java.awt.color.ColorSpace
public float getMaxValue(int component)
getMaxValue
in class java.awt.color.ColorSpace
public float getMinValue(int component)
getMinValue
in class java.awt.color.ColorSpace
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getName()
getName
in interface NamedColorSpace