public static class PdfSpecialCs.Separation extends PdfSpecialCs
PdfSpecialCs.DeviceN, PdfSpecialCs.Indexed, PdfSpecialCs.NChannel, PdfSpecialCs.Pattern, PdfSpecialCs.Separation, PdfSpecialCs.UncoloredTilingPattern
DIRECT_COLOR_SPACES
Constructor and Description |
---|
Separation(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.
This constructor has been replaced by
#Separation(String, PdfColorSpace, IPdfFunction)
|
Modifier and Type | Method and Description |
---|---|
PdfColorSpace |
getBaseCs() |
PdfName |
getName() |
int |
getNumberOfComponents() |
IPdfFunction |
getTintTransformation()
Gets the function to calulate a separation color value to an alternative colorspace.
|
flush, isWrappedObjectMustBeIndirect
makeColorSpace
ensureObjectIsAddedToDocument, ensureUnderlyingObjectHasIndirectReference, getPdfObject, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidRelease
public Separation(PdfArray pdfObject)
@Deprecated public Separation(String name, PdfColorSpace alternateSpace, PdfFunction tintTransform)
#Separation(String, PdfColorSpace, IPdfFunction)
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
public Separation(String name, PdfColorSpace alternateSpace, IPdfFunction tintTransform)
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
public int getNumberOfComponents()
getNumberOfComponents
in class PdfColorSpace
public PdfColorSpace getBaseCs()
public PdfName getName()
public IPdfFunction getTintTransformation()
IPdfFunction
to perform the calculation
Copyright © 1998–2022 iText Group NV. All rights reserved.