SetaPDF_Core_Document_Page_Annotation_BorderStyle Class representing annotations border style dictionary

File: /SetaPDF v2/Core/Document/Page/Annotation/BorderStyle.php

See PDF 32000-1:2008 - 12.5.4 Border Styles

Class hierarchy

Summary

Constants

BEVELED

Border style

DASHED

Border style

INSET

Border style

SOLID

Border style

UNDERLINE

Border style


Properties


Methods

cleanUp()

Release memory/cycled references.

getDashPattern()

Get the dash pattern.

Exceptions

Throws SetaPDF_Core_Type_Exception

getDictionary()

Get the dictionary of it.

Parameters
$create : boolean

Defines whether the dictionary should be created if it doesn't exists

getStyle()

Get the border style.

Exceptions

Throws SetaPDF_Core_Type_Exception

getWidth()

Get the border width.

Exceptions

Throws SetaPDF_Core_Type_Exception

setStyle()

Set the border style.

Parameters
$style : null|string
 

setWidth()

Set the border width.

Parameters
$width : null|int|float