class final Optional · pdftoolkit/html-to-pdf 0.4.0
PDF\HtmlToPdf\Layout\FloatContextDocument-local exclusions; a floated box receives a fresh nested context.Inheritance and contracts
This type declares no parent, interface or trait.
Construction
__construct()
public function __construct(PDF\HtmlToPdf\Layout\FloatWorkBudget|int $maximumWork)Declared methods
checkpoint()
public function checkpoint(): intclear()
public function clear(string $side, float $top): floatnested()
public function nested(): selfoverlapsBefore()
public function overlapsBefore(int $checkpoint, float $x, float $top, float $width, float $height): boolTest only floats that existed before a normal block began its layout.place()
public function place(string $side, float $width, float $height, float $top, float $left, float $available): PDF\HtmlToPdf\Layout\FloatPlacementspace()
public function space(float $x, float $width, float $top, float $height, float $minimumWidth = 0): PDF\HtmlToPdf\Layout\LineSpace