Class PDDeviceNProcess
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.graphics.color.PDDeviceNProcess
-
public class PDDeviceNProcess extends java.lang.ObjectA DeviceN Process Dictionary- Author:
- John Hewson
-
-
Constructor Summary
Constructors Constructor Description PDDeviceNProcess()Creates a new DeviceN Process Dictionary.PDDeviceNProcess(COSDictionary attributes)Creates a new DeviceN Process Dictionary from the given attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PDColorSpacegetColorSpace()Returns the process color spacejava.util.List<java.lang.String>getComponents()Returns the names of the color components.COSDictionarygetCOSDictionary()Returns the underlying COS dictionary.java.lang.StringtoString()
-
-
-
Constructor Detail
-
PDDeviceNProcess
public PDDeviceNProcess()
Creates a new DeviceN Process Dictionary.
-
PDDeviceNProcess
public PDDeviceNProcess(COSDictionary attributes)
Creates a new DeviceN Process Dictionary from the given attributes.- Parameters:
attributes- a DeviceN attributes dictionary
-
-
Method Detail
-
getCOSDictionary
public COSDictionary getCOSDictionary()
Returns the underlying COS dictionary.- Returns:
- the underlying COS dictionary.
-
getColorSpace
public PDColorSpace getColorSpace() throws java.io.IOException
Returns the process color space- Returns:
- the process color space
- Throws:
java.io.IOException- if the color space cannot be read
-
getComponents
public java.util.List<java.lang.String> getComponents()
Returns the names of the color components.- Returns:
- the names of the color components
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-