class final readonly Optional · pdftoolkit/html-to-pdf 0.4.0
PDF\HtmlToPdf\Css\StyleStatePreserve a unitless line-height through inheritance until child font sizing.Inheritance and contracts
This type declares no parent, interface or trait.
Construction
__construct()
public function __construct(PDF\HtmlToPdf\Style\ComputedStyle $style = new ComputedStyle(), ?float $lineHeightFactor = 4 / 3)Properties
| Declaration | Origin and documentation |
|---|---|
public readonly ?float $lineHeightFactor | PDF\HtmlToPdf\Css\StyleState |
public readonly PDF\HtmlToPdf\Style\ComputedStyle $style | PDF\HtmlToPdf\Css\StyleState |