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(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)
public DeviceN(List<String> names, PdfColorSpace alternateSpace, IPdfFunction tintTransform)
names
- the names of the componentsalternateSpace
- the alternate colorspacetintTransform
- the function to transform colors to the alternate colorspacepublic int getNumberOfComponents()
getNumberOfComponents
in class PdfColorSpace
public PdfColorSpace getBaseCs()
public PdfArray getNames()
Copyright © 1998–2023 Apryse Group NV. All rights reserved.