|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pdfbox.pdmodel.graphics.color.PDColorSpace
org.pdfbox.pdmodel.graphics.color.PDDeviceN
public class PDDeviceN
This class represents a DeviceN color space.
| Field Summary | |
|---|---|
static java.lang.String |
NAME
The name of this color space. |
| Constructor Summary | |
|---|---|
PDDeviceN()
Constructor. |
|
PDDeviceN(COSArray separation)
Constructor. |
|
| Method Summary | |
|---|---|
java.awt.image.ColorModel |
createColorModel(int bpc)
Create a Java color model for this colorspace. |
java.awt.color.ColorSpace |
createColorSpace()
Create a Java colorspace for this colorspace. |
PDColorSpace |
getAlternateColorSpace()
This will get the alternate color space for this separation. |
PDDeviceNAttributes |
getAttributes()
This will get the attributes that are associated with the deviceN color space. |
java.util.List |
getColorantNames()
This will get the colorant names. |
java.lang.String |
getName()
This will return the name of the color space. |
int |
getNumberOfComponents()
This will get the number of components that this color space is made up of. |
COSBase |
getTintTransform()
This will get the tint transform function. |
void |
setAlternateColorSpace(PDColorSpace cs)
This will set the alternate color space. |
void |
setAttributes(PDDeviceNAttributes attributes)
This will set the color space attributes. |
void |
setColorantNames(java.util.List names)
This will set the list of colorants. |
void |
setTintTransform(COSBase tint)
This will set the tint transform function. |
| Methods inherited from class org.pdfbox.pdmodel.graphics.color.PDColorSpace |
|---|
getCOSObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NAME
| Constructor Detail |
|---|
public PDDeviceN()
public PDDeviceN(COSArray separation)
separation - The array containing all separation information.| Method Detail |
|---|
public java.lang.String getName()
getName in class PDColorSpace
public int getNumberOfComponents()
throws java.io.IOException
getNumberOfComponents in class PDColorSpacejava.io.IOException - If there is an error getting the number of color components.
public java.awt.color.ColorSpace createColorSpace()
throws java.io.IOException
createColorSpace in class PDColorSpacejava.io.IOException - If there is an error creating the color space.
public java.awt.image.ColorModel createColorModel(int bpc)
throws java.io.IOException
createColorModel in class PDColorSpacebpc - The number of bits per component.
java.io.IOException - If there is an error creating the color model.public java.util.List getColorantNames()
public void setColorantNames(java.util.List names)
names - The list of colorant names.
public PDColorSpace getAlternateColorSpace()
throws java.io.IOException
java.io.IOException - If there is an error getting the alternate color space.public void setAlternateColorSpace(PDColorSpace cs)
cs - The alternate color space.public COSBase getTintTransform()
public void setTintTransform(COSBase tint)
tint - The tint transform function.public PDDeviceNAttributes getAttributes()
public void setAttributes(PDDeviceNAttributes attributes)
attributes - The color space attributes.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||