|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pdfbox.pdmodel.graphics.color.PDColorSpace
public abstract class PDColorSpace
This class represents a color space in a pdf document.
| Constructor Summary | |
|---|---|
PDColorSpace()
|
|
| Method Summary | |
|---|---|
abstract java.awt.image.ColorModel |
createColorModel(int bpc)
Create a Java color model for this colorspace. |
abstract java.awt.color.ColorSpace |
createColorSpace()
Create a Java colorspace for this colorspace. |
COSBase |
getCOSObject()
Convert this standard java object to a COS object. |
abstract java.lang.String |
getName()
This will return the name of the color space. |
abstract int |
getNumberOfComponents()
This will get the number of components that this color space is made up of. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PDColorSpace()
| Method Detail |
|---|
public abstract java.lang.String getName()
public abstract int getNumberOfComponents()
throws java.io.IOException
java.io.IOException - If there is an error getting the number of color components.public COSBase getCOSObject()
getCOSObject in interface COSObjectable
public abstract java.awt.color.ColorSpace createColorSpace()
throws java.io.IOException
java.io.IOException - If there is an error creating the color space.
public abstract java.awt.image.ColorModel createColorModel(int bpc)
throws java.io.IOException
bpc - The number of bits per component.
java.io.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 | |||||||||