class final readonly Optional · pdftoolkit/opentype 0.4.1

PDFToolkit\OpenType\Layout\FeatureMask
One feature's ordered range overrides, independent from glyph and Unicode identities.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(bool $defaultEnabled, array $ranges = [])
@param list<FeatureRange> $ranges

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

Declared methods

allows()

public function allows(int $cluster, PDFToolkit\OpenType\Substitution\LayoutReadBudget $budget): bool

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