java.awt.color
Class ICC_ColorSpace
java.lang.Object
|
+--java.awt.color.ColorSpace
|
+--java.awt.color.ICC_ColorSpace
NEEDS DOCUMENTATION
Since:Author:- Rolf W. Rasmussen <rolfwr@ii.uib.no>
ICC_ColorSpace
public ICC_ColorSpace(java.awt.color.ICC_Profile profile)
Constructs a new ICC_ColorSpace from an ICC_Profile object.
Parameters:
Throws:
fromCIEXYZ
public float[] fromCIEXYZ(float[] colorvalue)
Transforms a color value assumed to be in the CS_CIEXYZ conversion color
space into this ColorSpace.
Parameters:
Throws:
fromRGB
public float[] fromRGB(float[] rgbvalue)
Transforms a color value assumed to be in the default CS_sRGB color space
into this ColorSpace.
Parameters:
Throws:
getMaxValue
public float getMaxValue(int idx)
Returns the maximum normalized color component value for the specified
component.
Since:Parameters:
Throws:
getMinValue
public float getMinValue(int idx)
Returns the minimum normalized color component value for the specified
component.
Since:Parameters:
Throws:
getProfile
public ICC_Profile getProfile()
toCIEXYZ
public float[] toCIEXYZ(float[] colorvalue)
Transforms a color value assumed to be in this ColorSpace into the
CS_CIEXYZ conversion color space.
Parameters:
Throws:
toRGB
public float[] toRGB(float[] colorvalue)
Transforms a color value assumed to be in this ColorSpace into a value in
the default CS_sRGB color space.
Parameters:
Throws: