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

PDF\HtmlToPdf\Style\Borders

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\HtmlToPdf\Style\BorderSide $top = new BorderSide(), PDF\HtmlToPdf\Style\BorderSide $right = new BorderSide(), PDF\HtmlToPdf\Style\BorderSide $bottom = new BorderSide(), PDF\HtmlToPdf\Style\BorderSide $left = new BorderSide())

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

Declared methods

hasWidth()

public function hasWidth(): bool

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

uniform()

public static function uniform(PDF\HtmlToPdf\Style\BorderSide $side): self

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

widths()

public function widths(): PDF\HtmlToPdf\Style\Edges

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

Properties