Example usage for Java java.awt.color ColorSpace fields, constructors, methods, implement or subclass
The text is from its open source code.
int | TYPE_RGB Any of the family of RGB color spaces. |
int | TYPE_GRAY Any of the family of GRAY color spaces. |
int | TYPE_CMYK Any of the family of CMYK color spaces. |
int | CS_sRGB The sRGB color space defined at http://www.w3.org/pub/WWW/Graphics/Color/sRGB.html. |
int | CS_LINEAR_RGB A built-in linear RGB color space. |
int | CS_CIEXYZ The CIEXYZ conversion color space defined above. |
int | CS_GRAY The built-in linear gray scale color space. |
ColorSpace | getInstance(int colorspace) Returns a ColorSpace representing one of the specific predefined color spaces. |
int | getNumComponents() Returns the number of components of this ColorSpace. |
int | getType() Returns the color space type of this ColorSpace (for example TYPE_RGB , TYPE_XYZ , ...). |
boolean | isCS_sRGB() Returns true if the ColorSpace is CS_sRGB . |
float[] | toRGB(float[] colorvalue) Transforms a color value assumed to be in this ColorSpace into a value in the default CS_sRGB color space. |