class final readonly Optionnel · pdftoolkit/html-to-pdf 0.4.0
PDF\HtmlToPdf\Css\StyleStatePreserve a unitless line-height through inheritance until child font sizing.Héritage et contrats
Ce type ne déclare pas de parent, d’interface ou de trait.
Construction
__construct()
public function __construct(PDF\HtmlToPdf\Style\ComputedStyle $style = new ComputedStyle(), ?float $lineHeightFactor = 4 / 3)Propriétés
| Déclaration | Provenance et documentation |
|---|---|
public readonly ?float $lineHeightFactor | PDF\HtmlToPdf\Css\StyleState |
public readonly PDF\HtmlToPdf\Style\ComputedStyle $style | PDF\HtmlToPdf\Css\StyleState |