| com.sun.pdfview.colorspace.CMYKColorSpace
CMYKColorSpace | public class CMYKColorSpace extends ColorSpace (Code) | | A ColorSpace for the CMYK color space.
author: Mike Wessler |
Method Summary | |
public float[] | fromCIEXYZ(float[] colorvalue) Convert from CIEXYZ to RGB. | public float[] | fromRGB(float[] rgbvalue) Convert from RGB to CMYK. | public String | getName(int idx) | public int | getNumComponents() | public int | getType() | public float[] | toCIEXYZ(float[] colorvalue) Convert from CMYK to CIEXYZ. | public float[] | toRGB(float[] colorvalue) Convert from CMYK to RGB. |
CMYKColorSpace | public CMYKColorSpace()(Code) | | create a new CMYK color space: a ColorSpace with 4 components
|
fromCIEXYZ | public float[] fromCIEXYZ(float[] colorvalue)(Code) | | Convert from CIEXYZ to RGB. NOT IMPLEMENTED
|
fromRGB | public float[] fromRGB(float[] rgbvalue)(Code) | | Convert from RGB to CMYK.
Parameters: rgbvalue - the red, green, and blue values (0-1) the CMYK values (0-1) |
getName | public String getName(int idx)(Code) | | the name of this color space
|
getNumComponents | public int getNumComponents()(Code) | | the number of components
|
getType | public int getType()(Code) | | the type of this color space (TYPE_CMYK)
|
toCIEXYZ | public float[] toCIEXYZ(float[] colorvalue)(Code) | | Convert from CMYK to CIEXYZ. NOT IMPLEMENTED
|
toRGB | public float[] toRGB(float[] colorvalue)(Code) | | Convert from CMYK to RGB.
Parameters: colorvalue - the CMYK values (0-1) the RGB values (0-1) |
|
|