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

DASHED

INSET

SOLID

UNDERLINE


Properties


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.

setDashPattern()

Set the dash pattern.

Parameters
$pattern : array|SetaPDF_Core_Type_Array
 

setStyle()

public SetaPDF_Core_Document_Page_Annotation_BorderStyle::setStyle (
null|string $style
): self

Set the border style.

Parameters
$style : null|string
 

setWidth()

public SetaPDF_Core_Document_Page_Annotation_BorderStyle::setWidth (
null|int|float $width
): self

Set the border width.

Parameters
$width : null|int|float