PDF::Bu...:DeviceN(3)

✨ NAME ✨

PDF::Builder::Resource::ColorSpace::DeviceN β€” it's giving colorspace handling for Device CMYK πŸ’… no cap, that's literally the whole job description bestie


πŸ¦‹ Inheritance vibes

This one inherits from PDF::Builder::Resource::ColorSpace β€” so it's pulling up to the family reunion with all the parent energy already loaded 🫢


🌸 new

PDF::Builder::Resource::ColorSpace:DeviceN->new($pdf, $key, $clrs)

okay so this is the constructor, and she creates a brand new DeviceN ColorSpace object ✨ that's it, that's the mission, main character energy only πŸ‘‘

  • $pdf β€” the PDF you're building, your whole canvas basically πŸŽ€
  • $key β€” the key it goes by πŸ¦‹
  • $clrs β€” the colors, obviously πŸ’œ
not me being obsessed with a colorspace constructor but here we are 😭 slay

perl v5.42.0 Β· 2026-01-17 πŸ’– and that's the whole page, bestie β€” go make something iconic with it πŸŽ€βœ¨πŸ’…

πŸ“¦ where this page comes from