|
fop 1.1 | |||||||||
| 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, 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, 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 fallback| Method Detail |
|---|
public java.lang.String getName()
getName in interface PDFColorSpacepublic PDFName getColorName()
public PDFReference getTintFunction()
public int getNumComponents()
getNumComponents in interface PDFColorSpacepublic boolean isCMYKColorSpace()
isCMYKColorSpace in interface PDFColorSpacepublic boolean isDeviceColorSpace()
isDeviceColorSpace in interface PDFColorSpacepublic boolean isGrayColorSpace()
isGrayColorSpace in interface PDFColorSpacepublic boolean isRGBColorSpace()
isRGBColorSpace in interface PDFColorSpace
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||