public static class PdfSpecialCs.DeviceN extends PdfSpecialCs
PdfSpecialCs.DeviceN, PdfSpecialCs.Indexed, PdfSpecialCs.NChannel, PdfSpecialCs.Pattern, PdfSpecialCs.Separation, PdfSpecialCs.UncoloredTilingPattern
Modifier and Type | Field and Description |
---|---|
protected int |
numOfComponents |
DIRECT_COLOR_SPACES
Constructor and Description |
---|
DeviceN(List<String> names, PdfColorSpace alternateSpace, IPdfFunction tintTransform)
Creates a new DiviceN colorspace.
|
DeviceN(List<String> names, PdfColorSpace alternateSpace, PdfFunction tintTransform)
Deprecated.
Use constructor
#DeviceN(List, PdfColorSpace, IPdfFunction) instead.
|
DeviceN(PdfArray pdfObject) |
DeviceN(PdfArray names, PdfObject alternateSpace, PdfObject tintTransform) |
Modifier and Type | Method and Description |
---|---|
PdfColorSpace |
getBaseCs() |
protected static PdfArray |
getDeviceNCsArray(PdfArray names, PdfObject alternateSpace, PdfObject tintTransform) |
PdfArray |
getNames() |
int |
getNumberOfComponents() |
flush, isWrappedObjectMustBeIndirect
makeColorSpace
ensureObjectIsAddedToDocument, ensureUnderlyingObjectHasIndirectReference, getPdfObject, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidRelease
public DeviceN(PdfArray pdfObject)
@Deprecated public DeviceN(List<String> names, PdfColorSpace alternateSpace, PdfFunction tintTransform)
#DeviceN(List, PdfColorSpace, IPdfFunction)
instead.
names
- the names of the components
alternateSpace
- the alternate colorspace
tintTransform
- the function to transform colors to the alternate colorspace
public DeviceN(List<String> names, PdfColorSpace alternateSpace, IPdfFunction tintTransform)
names
- the names of the components
alternateSpace
- the alternate colorspace
tintTransform
- the function to transform colors to the alternate colorspace
public int getNumberOfComponents()
getNumberOfComponents
in class PdfColorSpace
public PdfColorSpace getBaseCs()
public PdfArray getNames()
Copyright © 1998–2022 iText Group NV. All rights reserved.