Table of Contents
The XObject stamp class allows you to create the stamp appearance absolutely individually by access its canvas object.
Create an Instance
An instance could be created by passing an XObject to its constructor:
// create a XObject $xObject = SetaPDF_Core_XObject_Form::create($document, array(0, 0, 200, 200)); // create a stamp instance $xObjectStamp = new SetaPDF_Stamper_Stamp_XObject($xObject);
Beside the general stamp properties the xobject stamp class offers following properties that allow you to define its dimensions:
Get the stamp dimension.
Get the height of the XObject stamp.
Get the width of the XObject stamp.
Set the dimensions of this stamp.
Set the individual height if the XObject stamp.
Set the individual width of the XObject stamp.