setasign\SetaPDF2\Core\Document\Page\Annotation

AppearanceCharacteristics Class representing annotations appearance characteristics

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

See PDF 32000-1:2008 - 12.5.6.19 Widget Annotations

Class hierarchy

Summary

Properties


Methods

__construct()

getBackgroundColor()

getDictionary()

getRotation()

public AppearanceCharacteristics::getRotation (
void
): int|float

Get the rotation value.

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

setBackgroundColor()

Set the background color.

Parameters
$backgroundColor : null|array|int|float|\setasign\SetaPDF2\Core\DataStructure\Color\AbstractColor
 

setBorderColor()

Set the border color.

Parameters
$borderColor : null|array|int|float|\setasign\SetaPDF2\Core\DataStructure\Color\AbstractColor
 

setRotation()

public AppearanceCharacteristics::setRotation (
null|int|float $rotation
): self

Set the rotation value.

Parameters
$rotation : null|int|float