SetaPDF_FormFiller_Field_DefaultAppearanceData Helper class to parse data from the default apperance entry of a form field.
File: /SetaPDF v2/FormFiller/Field/DefaultAppearanceData.php
Class hierarchy
Summary
Properties
$_fontName
protected string SetaPDF_FormFiller_Field_DefaultAppearanceData::$_fontName
The font name.
$_textColor
protected SetaPDF_Core_DataStructure_Color SetaPDF_FormFiller_Field_DefaultAppearanceData::$_textColor
The text color.
Methods
__construct()
The constuctor.
Parameters
- $daString : string
The default appearance string.
Exceptions
Throws SetaPDF_Core_Exception
_onNonstrokingColor()
public SetaPDF_FormFiller_Field_DefaultAppearanceData::_onNonstrokingColor (
array $arguments
): voidCallback of the content parser which is called if a nonstroking color operator is matched (g, rg, k).
Parameters
- $arguments : array
_onTextFont()
Callback of the content parser which is called if the text font operator is matched (Tf).
Parameters
- $arguments : array
Exceptions
getTextColor()
public SetaPDF_FormFiller_Field_DefaultAppearanceData::getTextColor (
void
): SetaPDF_Core_DataStructure_ColorGet the text color.