org.apache.fop.util

Class CMYKColorSpace


public class CMYKColorSpace
extends ColorSpace

This class represents an uncalibrated CMYK color space. It is used by the JpegImage class.

Constructor Summary

CMYKColorSpace(int type, int numcomponents)

Method Summary

float[]
fromCIEXYZ(float[] colorvalue)
float[]
fromRGB(float[] rgbvalue)
static CMYKColorSpace
getInstance()
Returns an instance of an uncalibrated CMYK color space.
float[]
toCIEXYZ(float[] colorvalue)
float[]
toRGB(float[] colorvalue)

Constructor Details

CMYKColorSpace

protected CMYKColorSpace(int type,
                         int numcomponents)
See Also:
java.awt.color.ColorSpace.ColorSpace(int, int)

Method Details

fromCIEXYZ

public float[] fromCIEXYZ(float[] colorvalue)

fromRGB

public float[] fromRGB(float[] rgbvalue)

getInstance

public static CMYKColorSpace getInstance()
Returns an instance of an uncalibrated CMYK color space.
Returns:
CMYKColorSpace the requested color space object

toCIEXYZ

public float[] toCIEXYZ(float[] colorvalue)

toRGB

public float[] toRGB(float[] colorvalue)

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.