phpdftk API Documentation

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

$d  : PdfArray|null
$s  : PdfName|null
$w  : PdfNumber|null

Methods

toPdf()  : string

Properties

Methods

toPdf()

public toPdf() : string
Return values
string

        
On this page

Search results