public class PDDeviceCMYK extends PDColorSpace
Modifier and Type | Field and Description |
---|---|
static String |
ABBREVIATED_NAME
The abbreviated name of this color space.
|
static PDDeviceCMYK |
INSTANCE
The single instance of this class.
|
static String |
NAME
The name of this color space.
|
array
Modifier and Type | Method and Description |
---|---|
ColorModel |
createColorModel(int bpc)
Create a Java color model for this colorspace.
|
protected ColorSpace |
createColorSpace()
Create a Java colorspace for this colorspace.
|
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, toString
public static final PDDeviceCMYK INSTANCE
public static final String NAME
public static final String ABBREVIATED_NAME
public String getName()
getName
in class PDColorSpace
public int getNumberOfComponents() throws IOException
getNumberOfComponents
in class PDColorSpace
IOException
- If there is an error getting the number of color components.protected ColorSpace createColorSpace()
createColorSpace
in class PDColorSpace
public ColorModel createColorModel(int bpc) throws IOException
createColorModel
in class PDColorSpace
bpc
- The number of bits per component.IOException
- If there is an error creating the color model.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.