class final readonly Core · roukmoute/pdf 0.6.1

PDF\Document\Structure\PageContentFragment
A typed fragment can cross scopes only while attached to its complete, validated page sequence.

Lire la déclaration source ↗

Héritage et contrats

Parent : PDF\Syntax\ContentStreamsResources\ContentStreams

Interfaces : Countable, IteratorAggregate, Stringable, Traversable

Construction

__construct()

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

Déclarée par PDF\Document\Structure\PageContentFragment · Voir le code ↗

Méthodes déclarées

attachTo()

public function attachTo(PDF\Document\Structure\PageContentSequence $sequence, PDF\Syntax\Object\IntegerType $part): void
@internal Attach through PageContentSequence.

Déclarée par PDF\Document\Structure\PageContentFragment · Voir le code ↗

validate()

public function validate(): void

Déclarée par PDF\Document\Structure\PageContentFragment · Voir le code ↗

with()

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

Déclarée par PDF\Document\Structure\PageContentFragment · Voir le code ↗

Méthodes héritées

5 méthodes des parents et contrats

__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 ↗

Propriétés

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