PDF::API2::Resource(3) Base class for PDF resources

METHODS

$resource = PDF::API2::Resource->new($pdf, $name)
Returns a resource object.
$name = $resource->name()
$resource->name($name)
Get or set the name of the resource.