class final readonly Optional · pdftoolkit/opentype 0.4.1

PDFToolkit\OpenType\Layout\ContextMatcher

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Declared methods

match()

@param list<GlyphId> $glyphs
@return list<int>|null

Declared by PDFToolkit\OpenType\Layout\ContextMatcher · View the code ↗

next()

public function next(array $glyphs, int $position, int $direction, PDFToolkit\OpenType\Layout\LookupFlags $flags, PDFToolkit\OpenType\Layout\GdefTable $definition, PDFToolkit\OpenType\Substitution\LayoutReadBudget $budget): ?int
@param list<GlyphId> $glyphs

Declared by PDFToolkit\OpenType\Layout\ContextMatcher · View the code ↗