public final class PDDeviceNAttributes
extends java.lang.Object
Constructor | Description |
---|---|
PDDeviceNAttributes() |
Creates a new DeviceN colour space attributes dictionary.
|
PDDeviceNAttributes(COSDictionary attributes) |
Creates a new DeviceN colour space attributes dictionary from the given dictionary.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.Map<java.lang.String,PDSeparation> |
getColorants() |
Returns a map of colorants and their associated Separation color space.
|
COSDictionary |
getCOSDictionary() |
Returns the underlying COS dictionary.
|
PDDeviceNProcess |
getProcess() |
Returns the DeviceN Process Dictionary, or null if it is missing.
|
boolean |
isNChannel() |
Returns true if this is an NChannel (PDF 1.6) color space.
|
void |
setColorants(java.util.Map<java.lang.String,PDColorSpace> colorants) |
Sets the colorant map.
|
java.lang.String |
toString() |
public PDDeviceNAttributes()
public PDDeviceNAttributes(COSDictionary attributes)
attributes
- a dictionary that has all of the attributespublic COSDictionary getCOSDictionary()
public java.util.Map<java.lang.String,PDSeparation> getColorants() throws java.io.IOException
java.io.IOException
- If there is an error reading a color spacepublic PDDeviceNProcess getProcess()
public boolean isNChannel()
public void setColorants(java.util.Map<java.lang.String,PDColorSpace> colorants)
colorants
- the map of colorantspublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2002–2018. All rights reserved.