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

PDF\HtmlToPdf\Style\Length

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(float $value, bool $percentage = false)

Declared by PDF\HtmlToPdf\Style\Length · View the code ↗

Declared methods

resolve()

public function resolve(float $basis): float

Declared by PDF\HtmlToPdf\Style\Length · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly bool $percentagePDF\HtmlToPdf\Style\Length
public readonly float $valuePDF\HtmlToPdf\Style\Length