setasign\SetaPDF2\Signer\Signature\Appearance
XObject Class representing a signature appearance based on an existing XObject
File: /SetaPDF v2/Signer/Signature/Appearance/XObject.php
Old class name (alias):
\SetaPDF_Signer_Signature_Appearance_XObject
An XObject could be an image, an extracted page or a fresh unique instance of a Form XObject.
Class hierarchy
Summary
Properties
$_xObject
protected \SetaPDF_Core_XObject XObject::$_xObject
The XObject that should be placed into the appearance
Methods
__construct()
_getN2XObject()
Get the n2-layer XObject.
Parameters
- $field : \SetaPDF_Signer_SignatureField
- $document : \SetaPDF_Core_Document
- $signer : \SetaPDF_Signer
createAppearance()
Creates the XObject structure and "layers" (n0 + n2).
Parameters
- $field : \SetaPDF_Signer_SignatureField
- $document : \SetaPDF_Core_Document
- $signer : \SetaPDF_Signer