Index
-
\setasign\SetaPDF2
-
Core
- Document
-
Document
- Page
-
Page
-
Annotation
- AdditionalActions
- Annotation
- AppearanceCharacteristics
- BorderEffect
- BorderStyle
- CaretAnnotation
- CircleAnnotation
- FileAttachmentAnnotation
- Flags
- FreeTextAnnotation
- HighlightAnnotation
- InkAnnotation
- LineAnnotation
- LineEndingStyle
- LinkAnnotation
- MarkupAnnotation
- PolyLineAnnotation
- PolygonAnnotation
- PopupAnnotation
- QuadPointsTrait
- ScreenAnnotation
- SquareAnnotation
- SquigglyAnnotation
- StampAnnotation
- StrikeOutAnnotation
- TextAnnotation
- TextMarkupAnnotation
- UnderlineAnnotation
- Widget
- WidgetAnnotation
-
Annotation
-
Core
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()
public AppearanceCharacteristics::__construct (
\setasign\SetaPDF2\Core\Type\AbstractType $objectOrDictionary
)The constructor.
Parameters
- $objectOrDictionary : \setasign\SetaPDF2\Core\Type\AbstractType
Exceptions
getBackgroundColor()
public AppearanceCharacteristics::getBackgroundColor (
void
): ?\setasign\SetaPDF2\Core\DataStructure\Color\AbstractColorGet the background color.
getBorderColor()
public AppearanceCharacteristics::getBorderColor (
void
): ?\setasign\SetaPDF2\Core\DataStructure\Color\AbstractColorGet the border color.
getDictionary()
public AppearanceCharacteristics::getDictionary (
void
): \setasign\SetaPDF2\Core\Type\PdfDictionaryGet the dictionary of it.
setBackgroundColor()
public AppearanceCharacteristics::setBackgroundColor (
null|array|int|float|\setasign\SetaPDF2\Core\DataStructure\Color\AbstractColor $backgroundColor
): selfSet the background color.
Parameters
- $backgroundColor : null|array|int|float|\setasign\SetaPDF2\Core\DataStructure\Color\AbstractColor
setBorderColor()
public AppearanceCharacteristics::setBorderColor (
null|array|int|float|\setasign\SetaPDF2\Core\DataStructure\Color\AbstractColor $borderColor
): selfSet the border color.
Parameters
- $borderColor : null|array|int|float|\setasign\SetaPDF2\Core\DataStructure\Color\AbstractColor