PDF::AP...t::Form(3)

✨ NAME ✨

PDF::API2::Resource::XObject::Form β€” bestie, this is the base class for external form objects πŸ’– (and yeah, your terminal is calling it PDF::AP...t::Form(3) because it ran out of room, but we know her full name 🫢)


πŸŽ€ METHODS πŸŽ€

  • $form = PDF::API2::Resource::XObject::Form->new($pdf) β€” okay so this literally just creates a form resource. That's the whole vibe. ✨
  • ($llx, $lly, $urx, $ury) = $form->bbox($llx, $lly, $urx, $ury) β€” get or set the coordinates of the form object's bounding box πŸ“¦ lowkey iconic that it does both, no cap. Pass the coords in and you're setting them; call it bare and it hands them back to you.
  • $resource = $form->resource($type, $key) $form->resource($type, $key, $object, $force) β€” this one gets or adds a resource that the form's contents need, like a Font, XObject, ColorSpace, etc. 🎨 the whole resource squad fr fr.
⚠️ heads up bestie: by default, an existing $key will NOT be overwritten. she's protective like that πŸ’…. Set $force to override this behavior β€” that's your "move, i'm the main character now" button 😭πŸ”₯

okay that's the whole page, you ate that πŸ“βœ¨ mwah πŸ’–

this lil masterpiece lives in perl v5.42.0, dated 2025-09-01, and goes by PDF::AP...t::Form(3) in the wild 🌸 see you in the next one, bye babes πŸ¦‹πŸ‘‘

πŸ“¦ where this page comes from
  • fedora 43: perl-PDF-API2 2.048-1.fc43 Β· LGPL-2.1-or-later AND (GPL-1.0-or-later OR Artistic-1.0-Perl) AND (MIT OR Artistic-1.0-Perl)
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms