Class PDDeviceNProcess
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.graphics.color.PDDeviceNProcess
-
public class PDDeviceNProcess extends java.lang.Object
A DeviceN Process Dictionary
-
-
Field Summary
Fields Modifier and Type Field Description private COSDictionary
dictionary
-
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 PDColorSpace
getColorSpace()
Returns the process color spacejava.util.List<java.lang.String>
getComponents()
Returns the names of the color components.COSDictionary
getCOSDictionary()
Returns the underlying COS dictionary.java.lang.String
toString()
-
-
-
Field Detail
-
dictionary
private final COSDictionary dictionary
-
-
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:
toString
in classjava.lang.Object
-
-