class final Core · roukmoute/pdf 0.5.5
PDF\Document\Fonts\SimpleWidthsTables 111/112: contiguous byte-code widths, exactly LastChar−FirstChar+1.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)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\NumericTypeMéthodes héritées
4 méthodes des parents et contrats
__toString()
public function __toString(): stringcount()
public function count(): intgetIterator()
public function getIterator(): TraversabletoPdf()
public function toPdf(PDF\Serialization\SerializationContext $context): stringPropriétés
| Déclaration | Provenance et documentation |
|---|---|
public readonly PDF\Syntax\Object\IntegerType $first | PDF\Document\Fonts\SimpleWidths |
public readonly array $items | PDF\Syntax\Object\ArrayType@var list<BasicType> |
public readonly PDF\Syntax\Object\IntegerType $last | PDF\Document\Fonts\SimpleWidths |