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
public static class PdfSpecialCs.DeviceN 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 Modifier and Type Field Description protected int
numOfComponents
-
Fields inherited from class com.itextpdf.kernel.pdf.colorspace.PdfColorSpace
DIRECT_COLOR_SPACES
-
-
Constructor Summary
Constructors Constructor Description DeviceN(PdfArray pdfObject)
DeviceN(PdfArray names, PdfObject alternateSpace, PdfObject tintTransform)
DeviceN(java.util.List<java.lang.String> names, PdfColorSpace alternateSpace, IPdfFunction tintTransform)
Creates a new DiviceN colorspace.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PdfColorSpace
getBaseCs()
protected static PdfArray
getDeviceNCsArray(PdfArray names, PdfObject alternateSpace, PdfObject tintTransform)
PdfArray
getNames()
int
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 Detail
-
DeviceN
public DeviceN(PdfArray pdfObject)
-
DeviceN
public DeviceN(java.util.List<java.lang.String> names, PdfColorSpace alternateSpace, IPdfFunction tintTransform)
Creates a new DiviceN colorspace.- Parameters:
names
- the names of the componentsalternateSpace
- the alternate colorspacetintTransform
- the function to transform colors to the alternate colorspace
-
-
Method Detail
-
getNumberOfComponents
public int getNumberOfComponents()
- Specified by:
getNumberOfComponents
in classPdfColorSpace
-
getBaseCs
public PdfColorSpace getBaseCs()
-
getNames
public PdfArray getNames()
-
-