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

The XObject that should be placed into the appearance


Methods

__construct()

The constructor.

Parameters
$xObject : \SetaPDF_Core_XObject
 

_getN2XObject()

Get the n2-layer XObject.

Parameters
$field : \SetaPDF_Signer_SignatureField
 
$document : \SetaPDF_Core_Document
 
$signer : \SetaPDF_Signer
 

cleanUp()

public XObject::cleanUp (
void
): void

Release memory/cycled references.

createAppearance()

Creates the XObject structure and "layers" (n0 + n2).

Parameters
$field : \SetaPDF_Signer_SignatureField
 
$document : \SetaPDF_Core_Document
 
$signer : \SetaPDF_Signer