Home » pdfbox-1.1.0-src » org.apache.pdfbox.pdmodel.graphics.color » [javadoc | source]
public class: PDDeviceNAttributes [javadoc | source]
This class represents attributes for a DeviceN color space.
 public PDDeviceNAttributes() 
 public PDDeviceNAttributes(COSDictionary attributes) 
    attributes - A dictionary that has all of the attributes.
Method from org.apache.pdfbox.pdmodel.graphics.color.PDDeviceNAttributes Summary:
getCOSDictionary,   getColorants,   setColorants
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.pdmodel.graphics.color.PDDeviceNAttributes Detail:
 public COSDictionary getCOSDictionary() 
    This will get the underlying cos dictionary.
 public Map getColorants() throws IOException 
    This will get a map of colorants. See the PDF Reference for more details about this attribute. The map will contain a java.lang.String as the key, a colorant name, and a PDColorSpace as the value.
 public  void setColorants(Map colorants) 
    This will replace the existing colorant attribute. The key should be strings and the values should be PDColorSpaces.