class final readonly Optional · pdftoolkit/opentype 0.1.0

PDFToolkit\OpenType\Cmap\Segment
One format 4 segment; its stored glyph array precedes the idDelta adjustment.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(int $startCode, int $endCode, int $idDelta, ?array $glyphIdArray = null)
@param list<int>|null $glyphIdArray

Declared by PDFToolkit\OpenType\Cmap\Segment · View the code ↗

Declared methods

glyphIndexFor()

public function glyphIndexFor(int $code): int

Declared by PDFToolkit\OpenType\Cmap\Segment · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly int $endCodePDFToolkit\OpenType\Cmap\Segment
public readonly int $idDeltaPDFToolkit\OpenType\Cmap\Segment
public readonly int $startCodePDFToolkit\OpenType\Cmap\Segment