Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.awt.color

Class ICC_ColorSpace

java.lang.Object
|
+--java.awt.color.ColorSpace
   |
   +--java.awt.color.ICC_ColorSpace


public class ICC_ColorSpace

extends ColorSpace

NEEDS DOCUMENTATION

Since:Author:

Constructor Summary

ICC_ColorSpace(java.awt.color.ICC_Profile profile)

Constructs a new ICC_ColorSpace from an ICC_Profile object.

Method Summary

float[]fromCIEXYZ(float[] colorvalue)

Transforms a color value assumed to be in the CS_CIEXYZ conversion color space into this ColorSpace.
float[]fromRGB(float[] rgbvalue)

Transforms a color value assumed to be in the default CS_sRGB color space into this ColorSpace.
floatgetMaxValue(int idx)

Returns the maximum normalized color component value for the specified component.
floatgetMinValue(int idx)

Returns the minimum normalized color component value for the specified component.
java.awt.color.ICC_ProfilegetProfile()

float[]toCIEXYZ(float[] colorvalue)

Transforms a color value assumed to be in this ColorSpace into the CS_CIEXYZ conversion color space.
float[]toRGB(float[] colorvalue)

Transforms a color value assumed to be in this ColorSpace into a value in the default CS_sRGB color space.

Constructor Details

ICC_ColorSpace

public ICC_ColorSpace(java.awt.color.ICC_Profile profile)

Constructs a new ICC_ColorSpace from an ICC_Profile object.

Parameters:

Throws:


Method Details

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: