Package com.itextpdf.kernel.pdf.function
Class PdfFunctionFactory
- java.lang.Object
-
- com.itextpdf.kernel.pdf.function.PdfFunctionFactory
-
public final class PdfFunctionFactory extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
FUNCTION_TYPE_0
static int
FUNCTION_TYPE_2
static int
FUNCTION_TYPE_3
static int
FUNCTION_TYPE_4
-
Constructor Summary
Constructors Modifier Constructor Description private
PdfFunctionFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IPdfFunction
create(PdfObject pdfObject)
Factory method to create a function instance based on an existingPdfObject
.
-
-
-
Field Detail
-
FUNCTION_TYPE_0
public static final int FUNCTION_TYPE_0
- See Also:
- Constant Field Values
-
FUNCTION_TYPE_2
public static final int FUNCTION_TYPE_2
- See Also:
- Constant Field Values
-
FUNCTION_TYPE_3
public static final int FUNCTION_TYPE_3
- See Also:
- Constant Field Values
-
FUNCTION_TYPE_4
public static final int FUNCTION_TYPE_4
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public static IPdfFunction create(PdfObject pdfObject)
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
-
-