PostScriptFunction
Overview
PostScriptFunction is a class in Aspose.Pdf FOSS for Java.
Inherits from: PdfFunction.
Type 4 (PostScript Calculator) function (ISO 32000-1:2008, §7.10.5).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
inputDimension | int | Read | Returns the number of input values. |
outputDimension | int | Read | Returns the number of output values. |
Methods
| Signature | Description |
|---|---|
PostScriptFunction(dict: COSDictionary, domain: double[], range: double[]) | Creates a PostScript function from a COS stream dictionary. |
PostScriptFunction(domain: double[], range: double[], program: String) | Creates a PostScript function directly (for testing). |
evaluate(input: double[]) → double[] | |
getInputDimension() → int | Returns the number of input values. |
getOutputDimension() → int | Returns the number of output values. |
parse(obj: COSBase, parser: PDFParser) → PdfFunction | Factory: parses a function from a COS object (dictionary or stream). |