public class PDDeviceCMYK extends PDColorSpace
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ABBREVIATED_NAME
The abbreviated name of this color space.
|
static PDDeviceCMYK |
INSTANCE
The single instance of this class.
|
static java.lang.String |
NAME
The name of this color space.
|
array| Modifier and Type | Method and Description |
|---|---|
java.awt.image.ColorModel |
createColorModel(int bpc)
Create a Java color model for this colorspace.
|
protected java.awt.color.ColorSpace |
createColorSpace()
Create a Java colorspace for this colorspace.
|
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.
|
getCOSObject, getJavaColorSpace, toStringpublic static final PDDeviceCMYK INSTANCE
public static final java.lang.String NAME
public static final java.lang.String ABBREVIATED_NAME
public java.lang.String getName()
getName in class PDColorSpacepublic int getNumberOfComponents()
throws java.io.IOException
getNumberOfComponents in class PDColorSpacejava.io.IOException - If there is an error getting the number of color components.protected java.awt.color.ColorSpace createColorSpace()
createColorSpace in class PDColorSpacepublic 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.