phelps.awt.color

Class ColorSpaceCalRGB

public class ColorSpaceCalRGB extends ColorSpace

CalRGB CIE-based color space. Used by PDF.

Version: $Revision: 1.4 $ $Date: 2002/06/06 21:43:27 $

Constructor Summary
ColorSpaceCalRGB(float whitex, float whitey, float whitez)
White point is required.
Method Summary
float[]fromCIEXYZ(float[] colorvalue)
NOT IMPLEMENTED (not needed for PDF).
float[]fromRGB(float[] rgbvalue)
voidsetBlackPoint(float x, float y, float z)
voidsetGamma(float r, float g, float b)
voidsetMatrix(float[] matrix)
float[]toCIEXYZ(float[] colorvalue)
X = L = X_W * A^G
float[]toRGB(float[] colorvalue)

Constructor Detail

ColorSpaceCalRGB

public ColorSpaceCalRGB(float whitex, float whitey, float whitez)
White point is required.

Method Detail

fromCIEXYZ

public float[] fromCIEXYZ(float[] colorvalue)
NOT IMPLEMENTED (not needed for PDF). So don't call Color.getComponents() or Color.getColorComponents() on colors in this ColorSpace.

fromRGB

public float[] fromRGB(float[] rgbvalue)

setBlackPoint

public void setBlackPoint(float x, float y, float z)

setGamma

public void setGamma(float r, float g, float b)

setMatrix

public void setMatrix(float[] matrix)

toCIEXYZ

public float[] toCIEXYZ(float[] colorvalue)
X = L = X_W * A^G

toRGB

public float[] toRGB(float[] colorvalue)