class final readonly Optional · pdftoolkit/html-to-pdf 0.4.0
PDF\HtmlToPdf\Font\FontMetricsDistances in PDF points; descent is the positive distance below the baseline.Inheritance and contracts
This type declares no parent, interface or trait.
Construction
__construct()
public function __construct(float $ascent, float $descent, float $lineGap)Declared methods
height()
public function height(): floatProperties
| Declaration | Origin and documentation |
|---|---|
public readonly float $ascent | PDF\HtmlToPdf\Font\FontMetrics |
public readonly float $descent | PDF\HtmlToPdf\Font\FontMetrics |
public readonly float $lineGap | PDF\HtmlToPdf\Font\FontMetrics |