|
fop 0.90alpha1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.pdf.PDFColorSpace
PDF Color space.
Field Summary | |
protected int |
currentColorSpace
Current color space value. |
static int |
DEVICE_CMYK
CMYK colorspace |
static int |
DEVICE_GRAY
Gray colorspace |
static int |
DEVICE_RGB
RGB colorspace |
static int |
DEVICE_UNKNOWN
Unknown colorspace |
Constructor Summary | |
PDFColorSpace(int theColorSpace)
Create a PDF colorspace object. |
Method Summary | |
int |
getColorSpace()
Get the colorspace value |
java.lang.String |
getColorSpacePDFString()
Get the PDF string for this colorspace. |
byte[] |
getICCProfile()
Get the ICC profile for this colorspace |
int |
getNumComponents()
Get the number of color components for this colorspace |
boolean |
hasICCProfile()
Check if this colorspace has an ICC profile. |
void |
setColorSpace(int theColorSpace)
Set the current colorspace. |
void |
setICCProfile(byte[] iccProfile)
Set the ICC profile for this colorspace. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DEVICE_UNKNOWN
public static final int DEVICE_GRAY
public static final int DEVICE_RGB
public static final int DEVICE_CMYK
protected int currentColorSpace
Constructor Detail |
public PDFColorSpace(int theColorSpace)
theColorSpace
- the current colorspaceMethod Detail |
public void setColorSpace(int theColorSpace)
theColorSpace
- the new color space valuepublic boolean hasICCProfile()
public byte[] getICCProfile()
public void setICCProfile(byte[] iccProfile)
iccProfile
- the ICC profile datapublic int getColorSpace()
public int getNumComponents()
public java.lang.String getColorSpacePDFString()
|
fop 0.90alpha1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |