class abstract readonly Core · roukmoute/pdf 0.6.2

PDF\Syntax\ContentStreamsResources\Operator
One instruction with direct, typed operands (ISO 32000-1, 7.8.2 and Annex A).

Read the source declaration ↗

Inheritance and contracts

Interfaces : Stringable

72 directly derived types

Construction

__construct()

protected function __construct(PDF\Syntax\FileStructure\BasicType ...$operands)

Declared by PDF\Syntax\ContentStreamsResources\Operator · View the code ↗

Declared methods

__toString()

public function __toString(): string

Declared by PDF\Syntax\ContentStreamsResources\Operator · View the code ↗

assertDirect()

protected static function assertDirect(PDF\Syntax\FileStructure\BasicType $object): void
Indirect references and streams are prohibited as content operands.

Declared by PDF\Syntax\ContentStreamsResources\Operator · View the code ↗

operands()

public function operands(): array
@return list<BasicType>

Declared by PDF\Syntax\ContentStreamsResources\Operator · View the code ↗

symbol()

public function symbol(): string

Declared by PDF\Syntax\ContentStreamsResources\Operator · View the code ↗

toPdf()

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

Declared by PDF\Syntax\ContentStreamsResources\Operator · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly array $operandsPDF\Syntax\ContentStreamsResources\Operator
@var list<BasicType>

Constants