Class PdfSpecialCs.NChannel
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.DeviceN
com.itextpdf.kernel.pdf.colorspace.PdfSpecialCs.NChannel
- 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.PdfSpecialCs.DeviceN
numOfComponents
Fields inherited from class com.itextpdf.kernel.pdf.colorspace.PdfColorSpace
DIRECT_COLOR_SPACES
-
Constructor Summary
ConstructorDescriptionNChannel
(PdfArray names, PdfObject alternateSpace, PdfObject tintTransform, PdfDictionary attributes) NChannel
(List<String> names, PdfColorSpace alternateSpace, IPdfFunction tintTransform, PdfDictionary attributes) Creates a new NChannel colorspace.NChannel
(List<String> names, PdfColorSpace alternateSpace, PdfFunction tintTransform, PdfDictionary attributes) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected static PdfArray
getNChannelCsArray
(PdfArray names, PdfObject alternateSpace, PdfObject tintTransform, PdfDictionary attributes) Methods inherited from class com.itextpdf.kernel.pdf.colorspace.PdfSpecialCs.DeviceN
getBaseCs, getDeviceNCsArray, getNames, getNumberOfComponents
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
-
NChannel
-
NChannel
public NChannel(PdfArray names, PdfObject alternateSpace, PdfObject tintTransform, PdfDictionary attributes) -
NChannel
@Deprecated public NChannel(List<String> names, PdfColorSpace alternateSpace, PdfFunction tintTransform, PdfDictionary attributes) Deprecated.Use constructorNChannel
insteadCreates a new NChannel colorspace.- Parameters:
-
names
- the names for the components -
alternateSpace
- the alternative colorspace -
tintTransform
- the function to transform colors to the alternate color space -
attributes
- NChannel specific attributes
-
NChannel
public NChannel(List<String> names, PdfColorSpace alternateSpace, IPdfFunction tintTransform, PdfDictionary attributes) Creates a new NChannel colorspace.- Parameters:
-
names
- the names for the components -
alternateSpace
- the alternative colorspace -
tintTransform
- the function to transform colors to the alternate color space -
attributes
- NChannel specific attributes
-
-
Method Details
-
getNChannelCsArray
protected static PdfArray getNChannelCsArray(PdfArray names, PdfObject alternateSpace, PdfObject tintTransform, PdfDictionary attributes)
-
NChannel
instead