PDF::AP...lorSpace(3)

πŸ’– NAME πŸ’–

PDF::API2::Resource::ColorSpace β€” okay so this is the base class for PDF color spaces. That's the whole vibe. She's the blueprint, the blueprint-est blueprint, and we love her for it. πŸ‘‘


✨ METHODS ✨

bestie, here's every method on the page, no skips, no skims, we're going through the whole roster. 🫢

  • $cs = PDF::API2::Resource::ColorSpace->new $pdf, $key, %parameters β€” this returns a new colorspace object. and like, it's the base class for all colorspaces, so it's giving founding mother energy. πŸ’…
  • $name = $res->name $name β€” returns or sets the Name of the resource. yes, she does both, she's versatile like that. πŸŽ€
  • @param = $cs->param @param β€” returns properly formatted color-parameters based on the colorspace. it's giving "I already know what format you need" and honestly? iconic. ✨

this lil page is from perl v5.42.0, dated 2025-09-01. slay, bye bestie πŸ’‹πŸ¦‹

πŸ“¦ 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