org.apache.fop.pdf
Class PDFDeviceColorSpace
java.lang.Object
org.apache.fop.pdf.PDFDeviceColorSpace
- PDFColorSpace
public class PDFDeviceColorSpace
extends java.lang.Object
Represents a device-specific color space. Used for mapping DeviceRGB, DeviceCMYK and DeviceGray.
DEVICE_CMYK
public static final int DEVICE_CMYK
CMYK colorspace
DEVICE_GRAY
public static final int DEVICE_GRAY
Gray colorspace
DEVICE_RGB
public static final int DEVICE_RGB
RGB colorspace
DEVICE_UNKNOWN
public static final int DEVICE_UNKNOWN
Unknown colorspace
currentColorSpace
protected int currentColorSpace
Current color space value.
PDFDeviceColorSpace
public PDFDeviceColorSpace(int theColorSpace)
Create a PDF colorspace object.
theColorSpace
- the current colorspace
getColorSpace
public int getColorSpace()
Get the colorspace value
setColorSpace
public void setColorSpace(int theColorSpace)
Set the current colorspace.
theColorSpace
- the new color space value
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.