PdfFunction

Overview

PdfFunction is a class in Aspose.PDF FOSS for Java.

Abstract base for PDF functions (ISO 32000-1:2008, §7.10).

This class provides 4 methods for working with PdfFunction objects in Java programs. Available methods include: evaluate, getInputDimension, getOutputDimension, parse. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: inputDimension, outputDimension.

Properties

NameTypeAccessDescription
inputDimensionintReadReturns the number of input values.
outputDimensionintReadReturns the number of output values.

Methods

SignatureDescription
evaluate(input: double[])double[]Evaluates the function for the given input values.
getInputDimension()intReturns the number of input values.
getOutputDimension()intReturns the number of output values.
parse(obj: PdfBase, parser: PDFParser)PdfFunctionFactory: parses a function from a PDF object (dictionary or stream).

See Also

 English