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

PDF\HtmlToPdf\Css\ColorFormatter
Serialize computed color channels without locale dependence or CSS exponent syntax.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Declared methods

format()

public function format(?PDF\HtmlToPdf\Style\Color $color): string

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