class readonly Core · roukmoute/pdf 0.6.2

PDF\Syntax\ContentStreamsResources\ContentStreams
Ordered object instructions; not an indirect object or stream dictionary.

A StreamObject owns these bytes. Operator contexts follow ISO 32000-1,
Figure 9; resource resolution and colour-space component counts are external.

@implements \IteratorAggregate<int, Operator>
@phpstan-consistent-constructor

Lire la déclaration source ↗

Héritage et contrats

Interfaces : Countable, IteratorAggregate, Stringable, Traversable

2 types dérivés directement

Construction

__construct()

public function __construct(PDF\Syntax\ContentStreamsResources\Operator ...$operators)

Déclarée par PDF\Syntax\ContentStreamsResources\ContentStreams · Voir le code ↗

Méthodes déclarées

__toString()

public function __toString(): string

Déclarée par PDF\Syntax\ContentStreamsResources\ContentStreams · Voir le code ↗

count()

public function count(): int

Déclarée par PDF\Syntax\ContentStreamsResources\ContentStreams · Voir le code ↗

getIterator()

public function getIterator(): Traversable

Déclarée par PDF\Syntax\ContentStreamsResources\ContentStreams · Voir le code ↗

isType3Glyph()

protected function isType3Glyph(): bool

Déclarée par PDF\Syntax\ContentStreamsResources\ContentStreams · Voir le code ↗

toPdf()

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

Déclarée par PDF\Syntax\ContentStreamsResources\ContentStreams · Voir le code ↗

validate()

public function validate(): void
Validate nesting and the state-dependent syntax before emitting bytes.

Déclarée par PDF\Syntax\ContentStreamsResources\ContentStreams · Voir le code ↗

with()

public function with(PDF\Syntax\ContentStreamsResources\Operator ...$operators): static

Déclarée par PDF\Syntax\ContentStreamsResources\ContentStreams · Voir le code ↗

Propriétés

DéclarationProvenance et documentation
public readonly array $operatorsPDF\Syntax\ContentStreamsResources\ContentStreams
@var list<Operator>