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

PDF\HtmlToPdf\Rendering\Bounds
An enclosing rectangle in bottom-left PDF page coordinates.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(float $left, float $bottom, float $right, float $top)

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

Declared methods

pdf()

public function pdf(): PDF\Syntax\DataStructure\Rectangle

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

union()

public function union(self $other): self

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

Properties

DeclarationOrigin and documentation
public readonly float $bottomPDF\HtmlToPdf\Rendering\Bounds
public readonly float $leftPDF\HtmlToPdf\Rendering\Bounds
public readonly float $rightPDF\HtmlToPdf\Rendering\Bounds
public readonly float $topPDF\HtmlToPdf\Rendering\Bounds