BorderStyle
in package
implements
Serializable
PDF Border Style dictionary (/Type /Border).
Describes the border drawn around annotations that support it (Link, FreeText, Line, Square, Circle, Polygon, PolyLine, etc.). Assigned to the /BS entry of those annotation dictionaries.
Style (/S) values: S - Solid D - Dashed B - Beveled I - Inset U - Underline
Example: $bs = new BorderStyle(); $bs->w = new PdfNumber(2.0); $bs->s = new PdfName('D'); $bs->d = new PdfArray([new PdfNumber(3), new PdfNumber(2)]); $annotation->bs = $bs;
Table of Contents
Interfaces
- Serializable
- Contract for anything that can emit raw PDF syntax via `toPdf()`.
Properties
Methods
- toPdf() : string
Properties
$d
public
PdfArray|null
$d
= null
/D - dash array, e.g. [3 2]
$s
public
PdfName|null
$s
= null
$w
public
PdfNumber|null
$w
= null
Methods
toPdf()
public
toPdf() : string