Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.graphics.color » [javadoc | source]
public class: PDDeviceGray [javadoc | source]

All Implemented Interfaces:

This class represents a Gray color space.
Field Summary
public static final  String NAME    The name of this color space. 
public static final  String ABBREVIATED_NAME    The abbreviated name of this color space. 
Fields inherited from org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace:
Method from org.apache.pdfbox.pdmodel.graphics.color.PDDeviceGray 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.PDDeviceGray Detail:
 public ColorModel createColorModel(int bpc) throws IOException 
    Create a Java color model for this colorspace.
 protected ColorSpace createColorSpace() 
    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.