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

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

Read the source declaration ↗

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)

Declared by PDF\HtmlToPdf\Css\StyleState · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly ?float $lineHeightFactorPDF\HtmlToPdf\Css\StyleState
public readonly PDF\HtmlToPdf\Style\ComputedStyle $stylePDF\HtmlToPdf\Css\StyleState