Goo::Ca...pseModel(3)
π 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 : default0: readable / writable) β the x coordinate of the center of the ellipse. where she is horizontally, basically. π'center-y'(double : default0: readable / writable) β the y coordinate of the center of the ellipse. vertically. you get it.'height'(double : default0: readable / writable) β the height of the ellipse. how tall she stands. π§'radius-x'(double : default0: readable / writable) β the horizontal radius of the ellipse. half of her width vibe.'radius-y'(double : default0: readable / writable) β the vertical radius of the ellipse. half of her height vibe.'width'(double : default0: readable / writable) β the width of the ellipse. how wide she spreads. π'x'(double : default0: readable / writable) β the x coordinate of the left side of the ellipse. not the center, bestie, the left side. important distinction. π'y'(double : default0: 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::ObjectGoo::Canvas::ItemModelSimple
π COPYRIGHT π
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
- fedora 43: perl-Goo-Canvas 0.06-60.fc43 Β· GPL-1.0-or-later 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