class final readonly Optionnel · pdftoolkit/html-to-pdf 0.4.0

PDF\HtmlToPdf\Css\StyleState
Preserve a unitless line-height through inheritance until child font sizing.

Lire la déclaration source ↗

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)

Déclarée par PDF\HtmlToPdf\Css\StyleState · Voir le code ↗

Propriétés

DéclarationProvenance et documentation
public readonly ?float $lineHeightFactorPDF\HtmlToPdf\Css\StyleState
public readonly PDF\HtmlToPdf\Style\ComputedStyle $stylePDF\HtmlToPdf\Css\StyleState