Package com.itextpdf.kernel.pdf.function
Class PdfFunctionFactory
java.lang.Object
com.itextpdf.kernel.pdf.function.PdfFunctionFactory
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic IPdfFunction
Factory method to create a function instance based on an existingPdfObject
.
-
Field Details
-
FUNCTION_TYPE_0
public static final int FUNCTION_TYPE_0- See Also:
-
FUNCTION_TYPE_2
public static final int FUNCTION_TYPE_2- See Also:
-
FUNCTION_TYPE_3
public static final int FUNCTION_TYPE_3- See Also:
-
FUNCTION_TYPE_4
public static final int FUNCTION_TYPE_4- See Also:
-
-
Method Details
-
create
Factory method to create a function instance based on an existingPdfObject
.- Parameters:
-
pdfObject
- Either aPdfDictionary
or aPdfStream
representing a function - Returns:
-
Depending on the type, a
PdfType0Function
, aPdfType2Function
, aPdfType3Function
or aPdfType4Function
-