java.lang.Object java.awt.color.ColorSpace
protected ColorSpace(int type, int numcomponents)
public static final int CS_CIEXYZ
public static final int CS_GRAY
public static final int CS_LINEAR_RGB
public static final int CS_PYCC
public static final int CS_sRGB
public abstract float[] fromCIEXYZ(float[] colorvalue)
public abstract float[] fromRGB(float[] rgbvalue)
fromCIEXYZ
toCIEXYZ
public static ColorSpace getInstance(int colorspace)
public float getMaxValue(int component)
public float getMinValue(int component)
public String getName(int idx)
public int getNumComponents()
public int getType()
public boolean isCS_sRGB()
public abstract float[] toCIEXYZ(float[] colorvalue)
public abstract float[] toRGB(float[] colorvalue)
public static final int TYPE_2CLR
public static final int TYPE_3CLR
public static final int TYPE_4CLR
public static final int TYPE_5CLR
public static final int TYPE_6CLR
public static final int TYPE_7CLR
public static final int TYPE_8CLR
public static final int TYPE_9CLR
public static final int TYPE_ACLR
public static final int TYPE_BCLR
public static final int TYPE_CCLR
public static final int TYPE_CMY
public static final int TYPE_CMYK
public static final int TYPE_DCLR
public static final int TYPE_ECLR
public static final int TYPE_FCLR
public static final int TYPE_GRAY
public static final int TYPE_HLS
public static final int TYPE_HSV
public static final int TYPE_Lab
public static final int TYPE_Luv
public static final int TYPE_RGB
public static final int TYPE_XYZ
public static final int TYPE_YCbCr
public static final int TYPE_Yxy