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

All Implemented Interfaces:

This class represents a DeviceN 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:
 public PDDeviceN() 
 public PDDeviceN(COSArray separation) 
    separation - The array containing all separation information.
Method from org.apache.pdfbox.pdmodel.graphics.color.PDDeviceN Summary:
createColorModel,   createColorSpace,   getAlternateColorSpace,   getAttributes,   getColorantNames,   getName,   getNumberOfComponents,   getTintTransform,   setAlternateColorSpace,   setAttributes,   setColorantNames,   setTintTransform
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.PDDeviceN 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 PDColorSpace getAlternateColorSpace() throws IOException 
    This will get the alternate color space for this separation.
 public PDDeviceNAttributes getAttributes() 
    This will get the attributes that are associated with the deviceN color space.
 public List getColorantNames() 
    This will get the colorant names. A list of string objects.
 public String getName() 
    This will return the name of the color space. For a PDSeparation object this will always return "Separation"
 public int getNumberOfComponents() throws IOException 
    This will get the number of components that this color space is made up of.
 public PDFunction getTintTransform() throws IOException 
    This will get the tint transform function.
 public  void setAlternateColorSpace(PDColorSpace cs) 
    This will set the alternate color space.
 public  void setAttributes(PDDeviceNAttributes attributes) 
    This will set the color space attributes. If null is passed in then all attribute will be removed.
 public  void setColorantNames(List names) 
    This will set the list of colorants.
 public  void setTintTransform(PDFunction tint) 
    This will set the tint transform function.