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

All Implemented Interfaces:
    COSObjectable

This class represents a Pattern color space.
Field Summary
public static final  String NAME    The name of this color space. 
Fields inherited from org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace:
array
Constructor:
 public PDPattern() 
 public PDPattern(COSArray pattern) 
    Constructor.
    Parameters:
    pattern - The pattern array.
Method from org.apache.pdfbox.pdmodel.graphics.color.PDPattern Summary:
createColorModel,   createColorSpace,   getName,   getNumberOfComponents
Methods from org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace:
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.PDPattern Detail:
 public ColorModel createColorModel(int bpc) throws IOException 
    Create a Java color model for this colorspace.
 protected ColorSpace createColorSpace() throws IOException 
    Create a Java colorspace for this colorspace.
 public String getName() 
    This will return the name of the color space.
 public int getNumberOfComponents() throws IOException 
    This will get the number of components that this color space is made up of.