Class PdfSpecialCs.DeviceN
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
- Direct Known Subclasses:
-
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.PdfColorSpace
DIRECT_COLOR_SPACES
-
Constructor Summary
ConstructorDescriptionDeviceN
(List<String> names, PdfColorSpace alternateSpace, IPdfFunction tintTransform) Creates a new DiviceN colorspace.DeviceN
(List<String> names, PdfColorSpace alternateSpace, PdfFunction tintTransform) Deprecated. -
Method Summary
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
-
Field Details
-
numOfComponents
protected int numOfComponents
-
-
Constructor Details
-
DeviceN
-
DeviceN
-
DeviceN
@Deprecated public DeviceN(List<String> names, PdfColorSpace alternateSpace, PdfFunction tintTransform) Deprecated.Use constructorDeviceN(List, PdfColorSpace, IPdfFunction)
instead.Creates a new DeviceN colorspace.- Parameters:
-
names
- the names of the components -
alternateSpace
- the alternate colorspace -
tintTransform
- the function to transform colors to the alternate colorspace
-
DeviceN
Creates a new DiviceN colorspace.- Parameters:
-
names
- the names of the components -
alternateSpace
- the alternate colorspace -
tintTransform
- the function to transform colors to the alternate colorspace
-
-
Method Details
-
getNumberOfComponents
public int getNumberOfComponents()- Specified by:
-
getNumberOfComponents
in classPdfColorSpace
-
getBaseCs
-
getNames
-
getDeviceNCsArray
-
DeviceN(List, PdfColorSpace, IPdfFunction)
instead.