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

PDF\HtmlToPdf\Css\StyleComputer

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\HtmlToPdf\Diagnostics $diagnostics)

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

Declared methods

compute()

public function compute(string $tag, array $author, PDF\HtmlToPdf\Css\StyleState $parent, float $rootSize = 12): PDF\HtmlToPdf\Css\StyleState
@param array<string,string> $author

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