|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFArray
org.apache.fop.pdf.PDFSeparationColorSpace
public class PDFSeparationColorSpace
This class represents a "Separation" color space. It is used in FOP to map named colors.
Field Summary |
---|
Fields inherited from class org.apache.fop.pdf.PDFArray |
---|
values |
Fields inherited from class org.apache.fop.pdf.PDFObject |
---|
log |
Constructor Summary | |
---|---|
PDFSeparationColorSpace(java.lang.String colorName,
PDFFunction tintFunction)
Creates a new "Separation" color space. |
Method Summary | |
---|---|
PDFName |
getColorName()
Returns the name of the colorant. |
java.lang.String |
getName()
|
int |
getNumComponents()
Get the number of color components for this colorspace |
PDFReference |
getTintFunction()
Returns a reference to the tint function that is used as a fallback if the colorant is not available. |
boolean |
isCMYKColorSpace()
|
boolean |
isDeviceColorSpace()
|
boolean |
isGrayColorSpace()
|
boolean |
isRGBColorSpace()
|
Methods inherited from class org.apache.fop.pdf.PDFArray |
---|
add, add, clear, contains, get, getChildren, length, output, set, set |
Methods inherited from class org.apache.fop.pdf.PDFObject |
---|
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, setParent, toPDF, toPDFString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDFSeparationColorSpace(java.lang.String colorName, PDFFunction tintFunction)
colorName
- the name of the coloranttintFunction
- the tint function used as fallbackMethod Detail |
---|
public java.lang.String getName()
getName
in interface PDFColorSpace
public PDFName getColorName()
public PDFReference getTintFunction()
public int getNumComponents()
getNumComponents
in interface PDFColorSpace
public boolean isCMYKColorSpace()
isCMYKColorSpace
in interface PDFColorSpace
public boolean isDeviceColorSpace()
isDeviceColorSpace
in interface PDFColorSpace
public boolean isGrayColorSpace()
isGrayColorSpace
in interface PDFColorSpace
public boolean isRGBColorSpace()
isRGBColorSpace
in interface PDFColorSpace
|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |