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()

The constructor.

Parameters
$objectOrDictionary : \SetaPDF_Core_Type_AbstractType
 
Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getBackgroundColor()

getBorderColor()

getDictionary()

Get the dictionary of it.

getRotation()

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

Get the rotation value.

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

setBackgroundColor()

public AppearanceCharacteristics::setBackgroundColor (
null|array|int|float|\SetaPDF_Core_DataStructure_Color $backgroundColor
): self

Set the background color.

Parameters
$backgroundColor : null|array|int|float|\SetaPDF_Core_DataStructure_Color
 

setBorderColor()

Set the border color.

Parameters
$borderColor : null|array|int|float|\SetaPDF_Core_DataStructure_Color
 

setRotation()

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

Set the rotation value.

Parameters
$rotation : null|int|float