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

PDF\HtmlToPdf\Rendering\BorderPainter
Constant operator work per side, independent of border length or dash count.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Declared methods

operators()

public function operators(PDF\HtmlToPdf\Drawing\BorderBox $box, float $pageHeight): array
@return list<Operator>

Declared by PDF\HtmlToPdf\Rendering\BorderPainter · View the code ↗

patternWork()

public function patternWork(PDF\HtmlToPdf\Drawing\BorderBox $box): float
Estimate actual emitted dash segments, cumulatively checked by Renderer.

Declared by PDF\HtmlToPdf\Rendering\BorderPainter · View the code ↗