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

PDF\HtmlToPdf\Drawing\Rectangle

Read the source declaration ↗

Inheritance and contracts

Interfaces : PDF\HtmlToPdf\Drawing\Command

Construction

__construct()

public function __construct(float $x, float $y, float $width, float $height, ?PDF\HtmlToPdf\Style\Color $color = null, ?PDF\HtmlToPdf\Style\Color $borderColor = null, float $borderWidth = 0, ?string $semanticId = null)

Declared by PDF\HtmlToPdf\Drawing\Rectangle · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly ?PDF\HtmlToPdf\Style\Color $borderColorPDF\HtmlToPdf\Drawing\Rectangle
public readonly float $borderWidthPDF\HtmlToPdf\Drawing\Rectangle
public readonly ?PDF\HtmlToPdf\Style\Color $colorPDF\HtmlToPdf\Drawing\Rectangle
public readonly float $heightPDF\HtmlToPdf\Drawing\Rectangle
public readonly ?string $semanticIdPDF\HtmlToPdf\Drawing\Rectangle
public readonly float $widthPDF\HtmlToPdf\Drawing\Rectangle
public readonly float $xPDF\HtmlToPdf\Drawing\Rectangle
public readonly float $yPDF\HtmlToPdf\Drawing\Rectangle