NAME

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

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

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.

NAVIGATION LINKS

Up (Parents)

Master Index
PDF::Builder -- Facilitates the creation and modification of PDF files
PDF::Builder::Resource -- Base class for PDF resources
PDF::Builder::Resource::XObject -- Base class for external objects

Siblings

PDF::Builder::Resource::XObject::Image -- Base class for external raster image objects

Down (Children)

PDF::Builder::Resource::XObject::Form::BarCode -- Base class for one-dimensional barcodes
PDF::Builder::Resource::XObject::Form::Hybrid -- Support routines for Forms

###