|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pdfbox.pdmodel.graphics.color.PDColorSpace
org.apache.pdfbox.pdmodel.graphics.color.PDDeviceRGB
public class PDDeviceRGB
This class represents an RGB color space.
| Field Summary | |
|---|---|
static String |
ABBREVIATED_NAME
The abbreviated name of this color space. |
static PDDeviceRGB |
INSTANCE
This is the single instance of this class. |
static String |
NAME
The name of this color space. |
| Fields inherited from class org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace |
|---|
array |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace |
|---|
getCOSObject, getJavaColorSpace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String NAME
public static final String ABBREVIATED_NAME
public static final PDDeviceRGB INSTANCE
| Method Detail |
|---|
public String getName()
getName in class PDColorSpace
public int getNumberOfComponents()
throws IOException
getNumberOfComponents in class PDColorSpaceIOException - 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 PDColorSpacebpc - The number of bits per component.
IOException - If there is an error creating the color model.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||