DOKK / manpages / debian 11 / libpdf-builder-perl / PDF::Builder::Resource::XObject::Form.3pm.en
PDF::Builder::Resource::XObject::Form(3pm) User Contributed Perl Documentation PDF::Builder::Resource::XObject::Form(3pm)

PDF::Builder::Resource::XObject::Form - Base class for external form objects

$form = PDF::Builder::Resource::XObject::Form->new($pdf)
Creates a form resource.
($llx, $lly, $urx, $ury) = $form->bbox($llx, $lly, $urx, $ury)
Get or set the coordinates of the form object's bounding box
$resource = $form->resource($type, $key)
$form->resource($type, $key, $object, $force)
Get or add a resource required by the form's contents, such as a Font, XObject, ColorSpace, etc.

By default, an existing $key will not be overwritten. Set $force to override this behavior.

2021-03-28 perl v5.32.1