Class PdfSpecialCs.Separation
- java.lang.Object
-
- com.itextpdf.kernel.pdf.PdfObjectWrapper<PdfObject>
-
- com.itextpdf.kernel.pdf.colorspace.PdfColorSpace
-
- com.itextpdf.kernel.pdf.colorspace.PdfSpecialCs
-
- com.itextpdf.kernel.pdf.colorspace.PdfSpecialCs.Separation
-
- Enclosing class:
- PdfSpecialCs
public static class PdfSpecialCs.Separation extends PdfSpecialCs
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.itextpdf.kernel.pdf.colorspace.PdfSpecialCs
PdfSpecialCs.DeviceN, PdfSpecialCs.Indexed, PdfSpecialCs.NChannel, PdfSpecialCs.Pattern, PdfSpecialCs.Separation, PdfSpecialCs.UncoloredTilingPattern
-
-
Field Summary
-
Fields inherited from class com.itextpdf.kernel.pdf.colorspace.PdfColorSpace
DIRECT_COLOR_SPACES
-
-
Constructor Summary
Constructors Constructor Description Separation(PdfArray pdfObject)
Separation(PdfName name, PdfObject alternateSpace, PdfObject tintTransform)
Separation(java.lang.String name, PdfColorSpace alternateSpace, IPdfFunction tintTransform)
Creates a new separation color space.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PdfColorSpace
getBaseCs()
PdfName
getName()
int
getNumberOfComponents()
private static PdfArray
getSeparationCsArray(PdfName name, PdfObject alternateSpace, PdfObject tintTransform)
IPdfFunction
getTintTransformation()
Gets the function to calulate a separation color value to an alternative colorspace.-
Methods inherited from class com.itextpdf.kernel.pdf.colorspace.PdfSpecialCs
flush, isWrappedObjectMustBeIndirect
-
Methods inherited from class com.itextpdf.kernel.pdf.colorspace.PdfColorSpace
makeColorSpace
-
Methods inherited from class com.itextpdf.kernel.pdf.PdfObjectWrapper
ensureObjectIsAddedToDocument, ensureUnderlyingObjectHasIndirectReference, getPdfObject, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidRelease
-
-
-
-
Constructor Detail
-
Separation
public Separation(PdfArray pdfObject)
-
Separation
public Separation(java.lang.String name, PdfColorSpace alternateSpace, IPdfFunction tintTransform)
Creates a new separation color space.- Parameters:
name
- The name for the separation coloralternateSpace
- The alternate colorspacetintTransform
- The function how the transform colors in the separation color space to the alternate color space
-
-
Method Detail
-
getNumberOfComponents
public int getNumberOfComponents()
- Specified by:
getNumberOfComponents
in classPdfColorSpace
-
getBaseCs
public PdfColorSpace getBaseCs()
-
getName
public PdfName getName()
-
getTintTransformation
public IPdfFunction getTintTransformation()
Gets the function to calulate a separation color value to an alternative colorspace.- Returns:
- a
IPdfFunction
to perform the calculation
-
-