iText 9.8.0 API
iText.Kernel.Pdf.Colorspace.PdfSpecialCs.NChannel Class Reference
Inheritance diagram for iText.Kernel.Pdf.Colorspace.PdfSpecialCs.NChannel:
iText.Kernel.Pdf.Colorspace.PdfSpecialCs.DeviceN iText.Kernel.Pdf.Colorspace.PdfSpecialCs iText.Kernel.Pdf.Colorspace.PdfColorSpace iText.Kernel.Pdf.PdfObjectWrapper< PdfObject >

Public Member Functions

  NChannel (PdfArray pdfObject)
 
  NChannel (PdfArray names, PdfObject alternateSpace, PdfObject tintTransform, PdfDictionary attributes)
 
  NChannel (IList< String > names, PdfColorSpace alternateSpace, IPdfFunction tintTransform, PdfDictionary attributes)
  Creates a new NChannel colorspace. More...
 
- Public Member Functions inherited from iText.Kernel.Pdf.Colorspace.PdfSpecialCs.DeviceN
  DeviceN (PdfArray pdfObject)
 
  DeviceN (PdfArray names, PdfObject alternateSpace, PdfObject tintTransform)
 
  DeviceN (IList< String > names, PdfColorSpace alternateSpace, IPdfFunction tintTransform)
  Creates a new DiviceN colorspace. More...
 
override int  GetNumberOfComponents ()
 
virtual PdfColorSpace  GetBaseCs ()
 
virtual PdfArray  GetNames ()
 
- Public Member Functions inherited from iText.Kernel.Pdf.Colorspace.PdfSpecialCs
override void  Flush ()
  To manually flush a PdfObject behind this wrapper, you have to ensure that this object is added to the document, i.e. it has an indirect reference. More...
 
- Public Member Functions inherited from iText.Kernel.Pdf.Colorspace.PdfColorSpace
virtual PdfName  GetColorspaceName ()
  Returns the iText.Kernel.Pdf.PdfName of the colorspace More...
 
virtual PdfName  GetName ()
  Returns the iText.Kernel.Pdf.PdfName of the colorspace or in case separation color spaces the separation color name. More...
 
- Public Member Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfObject >
virtual T  GetPdfObject ()
 
virtual iText.Kernel.Pdf.PdfObjectWrapper< T >  MakeIndirect (PdfDocument document, PdfIndirectReference reference)
  Marks object behind wrapper to be saved as indirect. More...
 
virtual iText.Kernel.Pdf.PdfObjectWrapper< T >  MakeIndirect (PdfDocument document)
  Marks object behind wrapper to be saved as indirect. More...
 
virtual iText.Kernel.Pdf.PdfObjectWrapper< T >  SetModified ()
 
virtual bool  IsFlushed ()
 

Static Package Functions

static PdfArray  GetNChannelCsArray (PdfArray names, PdfObject alternateSpace, PdfObject tintTransform, PdfDictionary attributes)
 
- Static Package Functions inherited from iText.Kernel.Pdf.Colorspace.PdfSpecialCs.DeviceN
static PdfArray  GetDeviceNCsArray (PdfArray names, PdfObject alternateSpace, PdfObject tintTransform)
 
- Static Package Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfObject >
static void  MarkObjectAsIndirect (PdfObject pdfObject)
 
static void  EnsureObjectIsAddedToDocument (PdfObject @object)
  Some wrappers use object's indirect reference to obtain the PdfDocument to which the object belongs to. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from iText.Kernel.Pdf.Colorspace.PdfColorSpace
static iText.Kernel.Pdf.Colorspace.PdfColorSpace  MakeColorSpace (PdfObject pdfObject)
 
- Static Public Attributes inherited from iText.Kernel.Pdf.Colorspace.PdfColorSpace
static readonly ICollection< PdfName >  DIRECT_COLOR_SPACES
 
- Package Functions inherited from iText.Kernel.Pdf.Colorspace.PdfSpecialCs
  PdfSpecialCs (PdfArray pdfObject)
 
override bool  IsWrappedObjectMustBeIndirect ()
  Defines if the object behind this wrapper must be an indirect object in the resultant document. More...
 
- Package Functions inherited from iText.Kernel.Pdf.Colorspace.PdfColorSpace
  PdfColorSpace (PdfObject pdfObject)
 
- Package Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfObject >
  PdfObjectWrapper (T pdfObject)
 
virtual void  SetPdfObject (T pdfObject)
 
virtual void  SetForbidRelease ()
 
virtual void  UnsetForbidRelease ()
 
virtual void  EnsureUnderlyingObjectHasIndirectReference ()
 
- Package Attributes inherited from iText.Kernel.Pdf.Colorspace.PdfSpecialCs.DeviceN
int  numOfComponents = 0
 

Constructor & Destructor Documentation

◆ NChannel()

iText.Kernel.Pdf.Colorspace.PdfSpecialCs.NChannel.NChannel ( IList< String >  names,
PdfColorSpace  alternateSpace,
IPdfFunction  tintTransform,
PdfDictionary  attributes 
)
inline

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