Goo::Ca...Polyline(3)
π Goo::Canvas::Polyline β the wrapper for GooCanvasPolyline π
okay bestie, gather round, because this is the page for Goo::Canvas::Polyline from the User Contributed Perl Documentation section of the manual (section 3, the library-calls girlies). It's the Perl-side wrapper for GooCanvasPolyline, and it's lowkey iconic. Let's get into it. π
β¨ NAME β¨
Goo::Canvas::Polyline β it's literally the wrapper for GooCanvasPolyline. That's the whole vibe. π¦
πΈ HIERARCHY πΈ
Here's the family tree, and yes, she's got main character energy at the bottom:
Glib::Object
+----Goo::Canvas::ItemSimple
+----Goo::Canvas::Polyline
π«Ά INTERFACES π«Ά
Goo::Canvas::Itemβ she implements it, she ate, no notes. π
π METHODS π
item = Goo::Canvas::Polyline->new ($parent, $close_path, $points, ...)
Making a whole new polyline, periodt. Here's what you're feeding her:
$parent(Goo::Canvas::Item)$close_path(boolean)$points(arrayref) β The points is an array reference that contains a flat points coordinates. If you want create a polyline without points, pass an empty array refer orundef....(list)
item = Goo::Canvas::Polyline->new_line ($parent, $x1, $y1, $x2, $y2, ...)
The shortcut bestie β one straight line, no points array required:
$parent(Goo::Canvas::Item)$x1(double)$y1(double)$x2(double)$y2(double)...(list)
β PROPERTIES β
Every single one, and they're all readable / writable, so you can peek AND poke. π
'arrow-length'(double : default 5 : readable / writable) β The length of the arrows, as a multiple of the line width'arrow-tip-length'(double : default 4 : readable / writable) β The length of the arrow tip, as a multiple of the line width'arrow-width'(double : default 4 : readable / writable) β The width of the arrows, as a multiple of the line width'close-path'(boolean : default false : readable / writable) β If the last point should be connected to the first'end-arrow'(boolean : default false : readable / writable) β If an arrow should be displayed at the end of the polyline'height'(double : default 0 : readable / writable) β The height of the polyline'points'(Goo::Canvas::Points: default undef : readable / writable) β The array of points'start-arrow'(boolean : default false : readable / writable) β If an arrow should be displayed at the start of the polyline'width'(double : default 0 : readable / writable) β The width of the polyline'x'(double : default 0 : readable / writable) β The x coordinate of the left-most point of the polyline'y'(double : default 0 : readable / writable) β The y coordinate of the top-most point of the polyline
π SEE ALSO π
Go read these too, they're the supporting cast:
Glib::ObjectGoo::Canvas::ItemSimple
π COPYRIGHT π
Copyright (C) 2025 Gtk2-Perl Team
and that's the whole page, bestie, we did it π
This little love letter was built with perl v5.42.0, dated 2025-07-25, straight from the Goo::Ca...Polyline(3) page in the User Contributed Perl Documentation. Stan the Gtk2-Perl Team. πβ¨
π¦ 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