public class PDFSeparationColorSpace extends PDFArray implements PDFColorSpace
| Constructor and Description |
|---|
PDFSeparationColorSpace(java.lang.String colorName,
PDFFunction tintFunction)
Creates a new "Separation" color space.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
add, add, clear, contains, get, getChildren, length, output, set, setcontentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, setParent, toPDF, toPDFStringpublic PDFSeparationColorSpace(java.lang.String colorName,
PDFFunction tintFunction)
colorName - the name of the coloranttintFunction - the tint function used as fallbackpublic 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 PDFColorSpaceCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.