Goo::Ca...::Bounds(3)

πŸ“¦
version 0.06 Β· 2 versions
, in fedora 43

✨ NAME ✨

Goo::Canvas::Bounds β€” bestie, it's the bounds module πŸ’– this is Goo::Ca...::Bounds(3) from the User Contributed Perl Documentation, and it's literally just here to hold a rectangle's four coordinates for ya. That's the whole vibe. πŸŽ€


🫢 METHODS 🫢

🌸 GooCanvasBounds = Goo::Canvas::Bounds->new ($x1, $y1, $x2, $y2)

okay so you wanna make a brand new bounds object? slay, here's what you hand it:

  • $x1 (double) β€” first x, as a double πŸ’…
  • $y1 (double) β€” first y, as a double πŸ’…
  • $x2 (double) β€” second x, as a double πŸ’…
  • $y2 (double) β€” second y, as a double πŸ’…

no cap, four doubles and you're done. πŸ¦‹


πŸ’œ double = $self->x1 (...)

grab x1 back out. returns a double. it takes:

  • ... (list)

πŸ’œ double = $self->x2 (...)

grab x2 back out. returns a double. it takes:

  • ... (list)

πŸ’œ double = $self->y1 (...)

grab y1 back out. returns a double. it takes:

  • ... (list)

πŸ’œ double = $self->y2 (...)

grab y2 back out. returns a double. it takes:

  • ... (list)

not me listing ... as a real argument four times but bestie that's literally what the page says, so I'm keeping it exactly as-is πŸ™ˆ iykyk

Copyright (C) 2025 Gtk2-Perl Team


and that's the whole page, periodt πŸ’… written against perl v5.42.0 and dated 2025-07-25, so if future-you is reading this from a shiny new perl, just know she's serving vintage πŸŽ€ bye bestie, go draw some rectangles! 🌈✨

πŸ“¦ where this page comes from