class final Core · pdftoolkit/pdf 0.12.4

PDF\Functions\PostScriptCalculatorFunction
FunctionType 4 stream containing a typed, braced calculator program.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Syntax\Object\StreamObject

Interfaces : PDF\Functions\FunctionObject, PDF\Syntax\FileStructure\BasicType, Stringable

Construction

__construct()

public function __construct(PDF\Functions\Domain $inputDomain, PDF\Functions\Range $outputRange, PDF\Functions\Calculator\Procedure $procedure, PDF\Functions\Calculator\CalculatorLimits $limits = new CalculatorLimits())

Declared by PDF\Functions\PostScriptCalculatorFunction · View the code ↗

Declared methods

domain()

public function domain(): PDF\Functions\Domain

Declared by PDF\Functions\PostScriptCalculatorFunction · View the code ↗

inputCount()

public function inputCount(): int

Declared by PDF\Functions\PostScriptCalculatorFunction · View the code ↗

outputCount()

public function outputCount(): int

Declared by PDF\Functions\PostScriptCalculatorFunction · View the code ↗

range()

public function range(): PDF\Functions\Range

Declared by PDF\Functions\PostScriptCalculatorFunction · View the code ↗

Inherited methods

4 methods from parents and contracts

__toString()

public function __toString(): string

Declared by PDF\Syntax\Object\StreamObject · View the code ↗

bytes()

public function bytes(PDF\Serialization\SerializationContext $context): string

Declared by PDF\Syntax\Object\StreamObject · View the code ↗

dictionary()

public function dictionary(): PDF\Syntax\Object\DictionaryType

Declared by PDF\Syntax\Object\StreamObject · View the code ↗

toPdf()

public function toPdf(PDF\Serialization\SerializationContext $context): string

Declared by PDF\Syntax\Object\StreamObject · View the code ↗

Properties