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

PDF\HtmlToPdf\Layout\FloatPlacement
The margin rectangle of one float in its formatting context.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(string $side, float $x, float $top, float $width, float $height)

Declared by PDF\HtmlToPdf\Layout\FloatPlacement · View the code ↗

Declared methods

bottom()

public function bottom(): float

Declared by PDF\HtmlToPdf\Layout\FloatPlacement · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly float $heightPDF\HtmlToPdf\Layout\FloatPlacement
public readonly string $sidePDF\HtmlToPdf\Layout\FloatPlacement
public readonly float $topPDF\HtmlToPdf\Layout\FloatPlacement
public readonly float $widthPDF\HtmlToPdf\Layout\FloatPlacement
public readonly float $xPDF\HtmlToPdf\Layout\FloatPlacement