SetaPDF_Core_Document_Page_Annotation_AppearanceCharacteristics Class representing annotations appearance characteristics
File: /SetaPDF v2/Core/Document/Page/Annotation/AppearanceCharacteristics.php
See PDF 32000-1:2008 - 12.5.6.19 Widget Annotations
Class hierarchy
Summary
Properties
$_dictionary
protected SetaPDF_Core_Type_Dictionary SetaPDF_Core_Document_Page_Annotation_AppearanceCharacteristics::$_dictionary
The dictionary
Methods
__construct()
public SetaPDF_Core_Document_Page_Annotation_AppearanceCharacteristics::__construct (
SetaPDF_Core_Type_AbstractType $objectOrDictionary
)The constructor.
Parameters
- $objectOrDictionary : SetaPDF_Core_Type_AbstractType
Exceptions
Throws SetaPDF_Core_Type_Exception
getBackgroundColor()
public SetaPDF_Core_Document_Page_Annotation_AppearanceCharacteristics::getBackgroundColor (
void
): null|SetaPDF_Core_DataStructure_ColorGet the background color.
getBorderColor()
public SetaPDF_Core_Document_Page_Annotation_AppearanceCharacteristics::getBorderColor (
void
): null|SetaPDF_Core_DataStructure_ColorGet the border color.
getDictionary()
public SetaPDF_Core_Document_Page_Annotation_AppearanceCharacteristics::getDictionary (
void
): SetaPDF_Core_Type_DictionaryGet the dictionary of it.
getRotation()
public SetaPDF_Core_Document_Page_Annotation_AppearanceCharacteristics::getRotation (
void
): int|floatGet the rotation value.
Exceptions
Throws SetaPDF_Core_Type_Exception
setBackgroundColor()
public SetaPDF_Core_Document_Page_Annotation_AppearanceCharacteristics::setBackgroundColor (
null|array|int|float|SetaPDF_Core_DataStructure_Color $backgroundColor
): SetaPDF_Core_Document_Page_Annotation_AppearanceCharacteristicsSet the background color.
Parameters
- $backgroundColor : null|array|int|float|SetaPDF_Core_DataStructure_Color
setBorderColor()
public SetaPDF_Core_Document_Page_Annotation_AppearanceCharacteristics::setBorderColor (
null|array|int|float|SetaPDF_Core_DataStructure_Color $borderColor
): SetaPDF_Core_Document_Page_Annotation_AppearanceCharacteristicsSet the border color.
Parameters
- $borderColor : null|array|int|float|SetaPDF_Core_DataStructure_Color
setRotation()
public SetaPDF_Core_Document_Page_Annotation_AppearanceCharacteristics::setRotation (
null|int|float $rotation
): SetaPDF_Core_Document_Page_Annotation_AppearanceCharacteristicsSet the rotation value.
Parameters
- $rotation : null|int|float