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
-
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
ConstructorDescriptionSeparation
(PdfArray pdfObject) Separation
(PdfName name, PdfObject alternateSpace, PdfObject tintTransform) Separation
(String name, PdfColorSpace alternateSpace, IPdfFunction tintTransform) Creates a new separation color space.Separation
(String name, PdfColorSpace alternateSpace, PdfFunction tintTransform) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
int
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 Details
-
Separation
-
Separation
-
Separation
@Deprecated public Separation(String name, PdfColorSpace alternateSpace, PdfFunction tintTransform) Deprecated.This constructor has been replaced bySeparation(String, PdfColorSpace, IPdfFunction)
Creates a new separation color space.- Parameters:
-
name
- The name for the separation color -
alternateSpace
- The alternate colorspace -
tintTransform
- The function how the transform colors in the separation color space to the alternate color space
-
Separation
Creates a new separation color space.- Parameters:
-
name
- The name for the separation color -
alternateSpace
- The alternate colorspace -
tintTransform
- The function how the transform colors in the separation color space to the alternate color space
-
-
Method Details
-
getNumberOfComponents
public int getNumberOfComponents()- Specified by:
-
getNumberOfComponents
in classPdfColorSpace
-
getBaseCs
-
getName
-
getTintTransformation
Gets the function to calulate a separation color value to an alternative colorspace.- Returns:
-
a
IPdfFunction
to perform the calculation
-
Separation(String, PdfColorSpace, IPdfFunction)