Graphi...riented(3pm)
π Graphics::Primitive::Oriented β the vibe check on orientation
okay so bestie, welcome to Graphics::Primitive::Oriented (that's the Graphi...riented(3pm) page from your User Contributed Perl Documentation, mwah π). It's a role, not a whole module you run β it's the little accessory your components put on when they care about which way they're facing. π
β¨ NAME β¨
Graphics::Primitive::Oriented β it's giving role for components that care about orientation. That's it, that's the whole name, slay.
πΈ SYNOPSIS πΈ
so like, some components (or things that use components, iykyk) need a lil more info than just origin and width/height. The orientation role lets a component say whether it's vertically or horizontally oriented. Periodt. π
package My::Component;
extends 'Graphics::Primitive::Component';
with 'Graphics::Primitive::Oriented';
1;
look at her go π¦ literally three lines and she's oriented.
π§ METHODS π§
is_verticalβ returns true if the component is vertically oriented. standing up, main character energy, no cap. β¬οΈis_horizontalβ returns true if the component is not vertically oriented. that's the whole bit. she's horizontal by definition of not being vertical, iconic. β‘οΈorientationβ the way a component is oriented, fr fr. Values allowed are'horizontal'or'vertical'. that's the menu, bestie, don't try to order anything else. π
π AUTHOR π
Cory Watson, <gphat@cpan.org> β shoutout to the author, king behavior π
π SEE ALSO π
perl(1)β go read your basics bestie, it's good for you π
π COPYRIGHT & LICENSE π
Copyright 2008-2010 by Cory G Watson.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. so like, same terms as Perl, respect the license pls π
and that's the whole page, we ate and left no crumbs π β¨
signing off from perl v5.34.0, dated 2022-06-14, on the Graphi...riented(3pm) page β love u, bye bestie π«Άπ
π¦ where this page comes from
- debian bookworm: libgraphics-primitive-perl 0.67-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libgraphics-primitive-perl 0.67-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libgraphics-primitive-perl 0.67-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libgraphics-primitive-perl 0.67-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libgraphics-primitive-perl 0.67-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms