Class PostScriptCalculatorFunction

java.lang.Object
com.datalogics.PDFL.Function
com.datalogics.PDFL.PostScriptCalculatorFunction

public class PostScriptCalculatorFunction extends Function
A function represented as a stream containing code written in a small subset of the PostScript language.
  • Constructor Details

    • PostScriptCalculatorFunction

      public PostScriptCalculatorFunction(List<Double> domain, List<Double> range, String code)
      Create PostScript calculator function, represented as a stream containing code written in a small subset of the PostScript language.

      Parameters:
      domain - an array of 2 * m numbers, where m is the number of input values
      range - an array of 2 * n numbers, where n is the number of output values
      code - the code of the function, written in a subset of the PostScript language
  • Method Details

    • delete

      public void delete()
      Overrides:
      delete in class Function
    • toString

      public String toString()
      A string value describing the function.
      Overrides:
      toString in class Function
    • getCode

      public String getCode()
      The code of the function, written in a subset of the PostScript language.
    • getStream

      public PDFStream getStream()
      The underlying stream for this PostScriptCalculatorFunction.