Goo::Ca...Ellipse(3)

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

✨ NAME ✨

Goo::Canvas::Ellipse β€” bestie, it's a wrapper for GooCanvasEllipse πŸ’– that's it, that's the whole vibe. She's the Perl-side glow-up for the C ellipse, and she serves.


🌸 HIERARCHY 🌸

the family tree, the ancestry, the nepo-baby lineage if you will πŸ‘‘

Glib::Object
+----Goo::Canvas::ItemSimple
     +----Goo::Canvas::Ellipse

so like, she starts as a Glib::Object, becomes a Goo::Canvas::ItemSimple, and then she's an ellipse. character development fr fr πŸ¦‹


πŸŽ€ INTERFACES πŸŽ€

  • Goo::Canvas::Item

that's the interface she implements. she said "yes i do that" πŸ’…


πŸ’œ METHODS πŸ’œ

item = Goo::Canvas::Ellipse->new ($parent, $center_x, $center_y, $radius_x, $radius_y, ...)

okay so this is the constructor, the birth of your ellipse, the main character's origin story 🌈 here's what you're handing her:

  • $parent (Goo::Canvas::Item) β€” the item that adopts her, her canvas parent, her chosen family 🫢
  • $center_x (double) β€” x of the center, obvi
  • $center_y (double) β€” y of the center, also obvi
  • $radius_x (double) β€” how far she stretches sideways
  • $radius_y (double) β€” how far she stretches up and down
  • ... (list) β€” and then the rest of the args just vibe along in a list, iykyk

🌟 PROPERTIES 🌟

every one of these is double, defaults to 0, and is readable / writable, so you can peek AND poke. obsessed πŸ’–

  • 'center-x' (double : default 0 : readable / writable) β€” the x coordinate of the center of the ellipse. the horizontal heart of the whole situation.
  • 'center-y' (double : default 0 : readable / writable) β€” the y coordinate of the center of the ellipse. vertical heart. matching set, as she should πŸ’…
  • 'height' (double : default 0 : readable / writable) β€” the height of the ellipse. how tall she's standing 🌱
  • 'radius-x' (double : default 0 : readable / writable) β€” the horizontal radius of the ellipse. half the width energy, horizontally speaking ✨
  • 'radius-y' (double : default 0 : readable / writable) β€” the vertical radius of the ellipse. the up-down half. yes they're a duo πŸŽ€
  • 'width' (double : default 0 : readable / writable) β€” the width of the ellipse. how wide she's living 🌈
  • 'x' (double : default 0 : readable / writable) β€” the x coordinate of the left side of the ellipse. leftmost edge, the boundary bestie πŸ¦‹
  • 'y' (double : default 0 : readable / writable) β€” the y coordinate of the top of the ellipse. top edge, she doesn't go higher than this πŸ’«

πŸ‘€ SEE ALSO πŸ‘€

go read these too, they're the extended universe, no cap:

  • Glib::Object
  • Goo::Canvas::ItemSimple

Copyright (C) 2025 Gtk2-Perl Team


okay so that's the whole page, you're officially an ellipse girlie now πŸ’… slay, go draw some circles that are slightly squished πŸ₯šβœ¨

this was Goo::Ca...Ellipse(3) from the User Contributed Perl Documentation, running on perl v5.42.0, dated 2025-07-25 β€” mwah, thanks for reading bestie, ily πŸ«ΆπŸ’–

πŸ“¦ where this page comes from