PDF::Bu...:XObject(3)
β¨ NAME β¨
PDF::Builder::Resource::XObject β the base class for external objects, bestie π
This one inherits from PDF::Builder::Resource, so all that resource energy comes along for the ride. It's literally the parent vibe for XObjects, iykyk π¦
πΈ METHODS πΈ
π new
$xobject = PDF::Builder::Resource::XObject->new($pdf, $name)
okay so this is the constructor, and it does exactly what it says on the tin: it creates an XObject resource β¨ You hand it a $pdf and a $name, and boom β you got yourself an $xobject. Iconic behavior, no notes π
π«Ά subtype
$type = $xobject->subtype($type)
Get or set the Subtype of the XObject resource β it's giving dual-purpose, main character energy π Pass a $type and you're setting it; call it and you get the $type back. Versatile fr fr π
User Contributed Perl Documentation π¦ perl v5.42.0 π 2026-01-17 β that's the tea, bestie, go forth and XObject responsibly πβ¨πΈ
π¦ where this page comes from
- fedora 44: perl-PDF-Builder 3.028-2.fc44 Β· LGPL-2.1-or-later AND LGPL-2.1-only AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms