Goo::Ca...pseModel(3)

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

πŸ’– Goo::Canvas::EllipseModel πŸ’–

okay bestie, welcome to the User Contributed Perl Documentation page for Goo::Ca...pseModel(3) β€” yes the man name is abbreviated like that, no that's not a typo, that's just how Perl docs roll. periodt. πŸŽ€


✨ NAME ✨

Goo::Canvas::EllipseModel β€” it's literally just a wrapper for GooCanvasEllipseModel. that's the whole job. she's a middlewoman and she's slaying at it. πŸ’…


πŸ¦‹ HIERARCHY πŸ¦‹

okay so here's the family tree, the ancestry.com of it all:

Glib::Object
+----Goo::Canvas::ItemModelSimple
     +----Goo::Canvas::EllipseModel

so she's a Glib::Object at heart, who became a Goo::Canvas::ItemModelSimple, who then became a full on Goo::Canvas::EllipseModel. glow up of the century honestly. πŸ‘‘


🌸 INTERFACES 🌸

  • Goo::Canvas::ItemModel

she implements it. iconic behavior. ✨


πŸ’œ METHODS πŸ’œ

🌈 itemmodel = Goo::Canvas::EllipseModel->new ($parent, $center_x, $center_y, $radius_x, $radius_y, ...)

this is the constructor, the birth of your ellipse, the main character's origin story. 🫢 here's what you're feeding her:

  • $parent (Goo::Canvas::ItemModel)
  • $center_x (double)
  • $center_y (double)
  • $radius_x (double)
  • $radius_y (double)
  • ... (list)
ngl the ... at the end is doing a lot of heavy lifting there. it's a list. she's flexible. we love that for her.

πŸŽ€ PROPERTIES πŸŽ€

every single one of these is double, every single one defaults to 0, and every single one is readable / writable. so you can read her, you can write her, she contains multitudes. πŸ’–

  • 'center-x' (double : default 0 : readable / writable) β€” the x coordinate of the center of the ellipse. where she is horizontally, basically. πŸ“
  • 'center-y' (double : default 0 : readable / writable) β€” the y coordinate of the center of the ellipse. vertically. you get it.
  • 'height' (double : default 0 : readable / writable) β€” the height of the ellipse. how tall she stands. 🧚
  • 'radius-x' (double : default 0 : readable / writable) β€” the horizontal radius of the ellipse. half of her width vibe.
  • 'radius-y' (double : default 0 : readable / writable) β€” the vertical radius of the ellipse. half of her height vibe.
  • 'width' (double : default 0 : readable / writable) β€” the width of the ellipse. how wide she spreads. πŸ’…
  • 'x' (double : default 0 : readable / writable) β€” the x coordinate of the left side of the ellipse. not the center, bestie, the left side. important distinction. πŸ‘€
  • 'y' (double : default 0 : readable / writable) β€” the y coordinate of the top of the ellipse. the top. the tippy top. πŸ”

πŸ”₯ SEE ALSO πŸ”₯

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

  • Glib::Object
  • Goo::Canvas::ItemModelSimple

Copyright (C) 2025 Gtk2-Perl Team


and that's the whole page, bestie!! πŸ¦‹ this beauty is served up fresh from perl v5.42.0, dated 2025-07-25, and filed under Goo::Ca...pseModel(3). go draw some ellipses, you absolute icon. mwah. πŸ’‹βœ¨πŸ’–

πŸ“¦ where this page comes from