Graphi...ligned(3pm)
π NAME π
Graphics::Primitive::Aligned β bestie, it's the role for components that actually care about alignment. That's it, that's the whole job. π
β¨ SYNOPSIS β¨
Okay so picture this: some components (or the lil things that use components) need a tiny bit more tea than just origin and width/height. That's where this role pulls up. The alignment role lets a component say what its horizontal and vertical alignment are β main character energy for layout, fr fr.
package My::Component;
extends 'Graphics::Primitive::Component';
with 'Graphics::Primitive::Aligned';
1;
Obsessed. Look at that. with it and you're aligned. Periodt. π
πΈ METHODS πΈ
π horizontal_alignment
The horizontal alignment value, no cap. Valid values are 'center', 'left' and 'right'. Pick one, bestie, those are the vibes. π¦
π vertical_alignment
The vertical alignment value. Valid values are 'bottom', 'center' and 'top'. Same deal, just the up-and-down axis. π
π AUTHOR π
Cory Watson, "<gphat@cpan.org>". Iconic behavior honestly. π«Ά
π₯ SEE ALSO π₯
perl(1)β go read it, iykyk π
π 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, go off, just respect the terms bestie π
okay that's the whole page!! this is from the User Contributed Perl Documentation, and the whole thing is filed under <code>Graphi...ligned(3pm)</code> (yes the name got truncated, tragic, the terminal did that not me π). It's all from perl v5.34.0, dated 2022-06-14. mwah, love u, go align something pretty πβ¨π
π¦ 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