org.apache.fop.pdf

Interface PDFColorSpace

Known Implementing Classes:
PDFDeviceColorSpace, PDFICCBasedColorSpace

public interface PDFColorSpace

PDF Color space.

Method Summary

String
getName()
int
getNumComponents()
Get the number of color components for this colorspace
boolean
isCMYKColorSpace()
boolean
isDeviceColorSpace()
boolean
isGrayColorSpace()
boolean
isRGBColorSpace()

Method Details

getName

public String getName()
Returns:
the name of the color space

getNumComponents

public int getNumComponents()
Get the number of color components for this colorspace
Returns:
the number of components

isCMYKColorSpace

public boolean isCMYKColorSpace()
Returns:
true if the color space is an CMYK color space

isDeviceColorSpace

public boolean isDeviceColorSpace()
Returns:
true if the color space is a device-dependent color space (like DeviceRGB, DeviceCMYK and DeviceGray)

isGrayColorSpace

public boolean isGrayColorSpace()
Returns:
true if the color space is an Gray color space

isRGBColorSpace

public boolean isRGBColorSpace()
Returns:
true if the color space is an RGB color space

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