logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Contents

Methods

new
           $form = PDF::Builder::Resource::XObject::Form->new($pdf)

           Creates a form resource.

   bbox
           ($llx, $lly, $urx, $ury) = $form->bbox($llx, $lly, $urx, $ury)

           Get or set the coordinates of the form object's bounding box.

   resource
           $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.

perl v5.40.1                                       2025-08-10              PDF::Builder::...::XObject::Form(3pm)

Name

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

       Inherits from PDF::Builder::Resource::XObject

See Also