iText 8.0.2 API
iText.Kernel.Pdf.Function.PdfFunctionFactory Class Reference

Static Public Member Functions

static IPdfFunction  Create (PdfObject pdfObject)
  Factory method to create a function instance based on an existing iText.Kernel.Pdf.PdfObject. More...
 

Static Public Attributes

const int  FUNCTION_TYPE_0 = 0
 
const int  FUNCTION_TYPE_2 = 2
 
const int  FUNCTION_TYPE_3 = 3
 
const int  FUNCTION_TYPE_4 = 4
 

Member Function Documentation

◆ Create()

static IPdfFunction iText.Kernel.Pdf.Function.PdfFunctionFactory.Create ( PdfObject  pdfObject )
inlinestatic

Factory method to create a function instance based on an existing iText.Kernel.Pdf.PdfObject.

Parameters
pdfObject Either a iText.Kernel.Pdf.PdfDictionary or a iText.Kernel.Pdf.PdfStream representing a function
Returns
Depending on the type, a PdfType0Function , a PdfType2Function , a PdfType3Function or a PdfType4Function