Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.graphics.color » [javadoc | source]
org.apache.pdfbox.pdmodel.graphics.color
abstract public class: PDColorSpace [javadoc | source]
java.lang.Object
   org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace

All Implemented Interfaces:
    COSObjectable

Direct Known Subclasses:
    PDDeviceRGB, PDCalRGB, PDIndexed, PDCalGray, PDDeviceCMYK, PDDeviceGray, PDLab, PDICCBased, PDPattern, PDDeviceN, PDSeparation

This class represents a color space in a pdf document.
Field Summary
protected  COSArray array    array for the given parameters. 
Method from org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace Summary:
createColorModel,   createColorSpace,   getCOSObject,   getJavaColorSpace,   getName,   getNumberOfComponents,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace Detail:
 abstract public ColorModel createColorModel(int bpc) throws IOException
    Create a Java color model for this colorspace.
 abstract protected ColorSpace createColorSpace() throws IOException
    Create a Java colorspace for this colorspace.
 public COSBase getCOSObject() 
    Convert this standard java object to a COS object.
 public ColorSpace getJavaColorSpace() throws IOException 
    Returns the Java AWT color space for this instance.
 abstract public String getName()
    This will return the name of the color space.
 abstract public int getNumberOfComponents() throws IOException
    This will get the number of components that this color space is made up of.
 public String toString() 
    {@inheritDoc}