class final readonly Optional · pdftoolkit/opentype 0.4.1

PDFToolkit\OpenType\Variation\AxisSegmentMap

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(array $mappings)
@param list<AxisValueMap> $mappings

Declared by PDFToolkit\OpenType\Variation\AxisSegmentMap · View the code ↗

Declared methods

active()

public function active(): bool

Declared by PDFToolkit\OpenType\Variation\AxisSegmentMap · View the code ↗

map()

public function map(int $coordinate): int
Map a 16.16 normalized coordinate. Missing mandatory anchors disable this map.

Declared by PDFToolkit\OpenType\Variation\AxisSegmentMap · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly array $mappingsPDFToolkit\OpenType\Variation\AxisSegmentMap