class final readonly Optional · pdftoolkit/opentype 0.4.1

PDFToolkit\OpenType\DeviceMetrics\LinearThresholds

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(array $verticalPixels)
@param list<int> $verticalPixels

Declared by PDFToolkit\OpenType\DeviceMetrics\LinearThresholds · View the code ↗

Declared methods

declaresLinear()

public function declaresLinear(PDFToolkit\OpenType\Value\GlyphId $glyph, int $pixelsPerEm): bool

Declared by PDFToolkit\OpenType\DeviceMetrics\LinearThresholds · View the code ↗

threshold()

public function threshold(PDFToolkit\OpenType\Value\GlyphId $glyph): int

Declared by PDFToolkit\OpenType\DeviceMetrics\LinearThresholds · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly array $verticalPixelsPDFToolkit\OpenType\DeviceMetrics\LinearThresholds