Goo::Ca...::Bounds(3)
β¨ 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 π
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
- 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