public class PostScriptCalculatorFunction extends Function
| Constructor and Description |
|---|
PostScriptCalculatorFunction(java.util.List<java.lang.Double> domain,
java.util.List<java.lang.Double> range,
java.lang.String code)
Create PostScript calculator function, represented as a stream containing code written in a small subset of the PostScript language.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
java.lang.String |
getCode()
The code of the function, written in a subset of the PostScript language.
|
PDFStream |
getStream()
The underlying stream for this PostScriptCalculatorFunction.
|
java.lang.String |
toString()
A string value describing the function.
|
apply, getDomain, getNInputs, getNOutputs, getRange, setDomain, setRangepublic PostScriptCalculatorFunction(java.util.List<java.lang.Double> domain,
java.util.List<java.lang.Double> range,
java.lang.String code)
domain - an array of 2 * m numbers, where m is the number of input valuesrange - an array of 2 * n numbers, where n is the number of output valuescode - the code of the function, written in a subset of the PostScript languagepublic java.lang.String toString()
public java.lang.String getCode()
public PDFStream getStream()