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

const string SetaPDF_Core_Document_Page_Annotation_BorderStyle::BEVELED = 'B'

Border style

DASHED

const string SetaPDF_Core_Document_Page_Annotation_BorderStyle::DASHED = 'D'

Border style

INSET

const string SetaPDF_Core_Document_Page_Annotation_BorderStyle::INSET = 'I'

Border style

SOLID

const string SetaPDF_Core_Document_Page_Annotation_BorderStyle::SOLID = 'S'

Border style

UNDERLINE

const string SetaPDF_Core_Document_Page_Annotation_BorderStyle::UNDERLINE = 'U'

Border style


Properties

$_annotation

protected SetaPDF_Core_Document_Page_Annotation SetaPDF_Core_Document_Page_Annotation_BorderStyle::$_annotation

The dictionary


Methods

cleanUp()

Release memory/cycled references.

getDashPattern()

Get the dash pattern.

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.

getWidth()

Get the border width.

setStyle()

Set the border style.

Parameters
$style : null|string
 

setWidth()

Set the border width.

Parameters
$width : null|int|float