setasign\SetaPDF2\Core\Document\Page\Annotation

BorderEffect Class representing annotations border effect dictionary

File: /SetaPDF v2/Core/Document/Page/Annotation/BorderEffect.php
Old class name (alias): \SetaPDF_Core_Document_Page_Annotation_BorderEffect

See PDF 32000-1:2008 - 12.5.4 Border Styles

Class hierarchy

Summary

Constants

CLOUDY

public const string BorderEffect::CLOUDY = 'C'

Border effect

NONE

public const string BorderEffect::NONE = 'S'

Border effect


Properties

$_dictionary


Methods

__construct()

The constructor.

Parameters
$dictionary : \SetaPDF_Core_Type_Dictionary
 

getDictionary()

Get the dictionary of it.

getIntensity()

public BorderEffect::getIntensity (
void
): int|float

Get the intensity of the effect.

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getName()

public BorderEffect::getName (
void
): string

Get the border effect name.

setIntensity()

public BorderEffect::setIntensity (
null|int|float $intensity
): self

Set the border width.

Parameters
$intensity : null|int|float
 

setName()

public BorderEffect::setName (
?string $name
): self

Set the border effect name.

Parameters
$name : ?string