class final Core · roukmoute/pdf 0.5.5

PDF\Document\Fonts\CIDWidthArray
9.7.4.3: both W forms, preserving explicit runs without expanding ranges.

Lire la déclaration source ↗

Héritage et contrats

Parent : PDF\Syntax\Object\ArrayType

Interfaces : Countable, IteratorAggregate, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable

Construction

__construct()

Déclarée par PDF\Document\Fonts\CIDWidthArray · Voir le code ↗

Méthodes déclarées

width()

public function width(PDF\Syntax\Object\IntegerType $cid, PDF\Syntax\Object\NumericType $default = new IntegerType(1000)): PDF\Syntax\Object\NumericType

Déclarée par PDF\Document\Fonts\CIDWidthArray · Voir le code ↗

Méthodes héritées

4 méthodes des parents et contrats

__toString()

public function __toString(): string

Déclarée par PDF\Syntax\Object\ArrayType · Voir le code ↗

count()

public function count(): int

Déclarée par PDF\Syntax\Object\ArrayType · Voir le code ↗

getIterator()

public function getIterator(): Traversable

Déclarée par PDF\Syntax\Object\ArrayType · Voir le code ↗

toPdf()

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

Déclarée par PDF\Syntax\Object\ArrayType · Voir le code ↗

Propriétés

DéclarationProvenance et documentation
public readonly array $itemsPDF\Syntax\Object\ArrayType
@var list<BasicType>
public readonly array $runsPDF\Document\Fonts\CIDWidthArray
@var list<CIDWidthRun|CIDWidthRange>