class final Core · roukmoute/pdf 0.5.5

PDF\Document\Fonts\SimpleWidths
Tables 111/112: contiguous byte-code widths, exactly LastChar−FirstChar+1.

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()

public function __construct(PDF\Syntax\Object\IntegerType $first, PDF\Syntax\Object\NumericType ...$widths)

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

Méthodes déclarées

width()

public function width(PDF\Syntax\Object\IntegerType $code, PDF\Syntax\Object\NumericType $missing = new NumericType(0)): PDF\Syntax\Object\NumericType

Déclarée par PDF\Document\Fonts\SimpleWidths · 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 PDF\Syntax\Object\IntegerType $firstPDF\Document\Fonts\SimpleWidths
public readonly array $itemsPDF\Syntax\Object\ArrayType
@var list<BasicType>
public readonly PDF\Syntax\Object\IntegerType $lastPDF\Document\Fonts\SimpleWidths