Graphi...ligned(3pm)

πŸ“¦
version 0.67 Β· 2 versions
  • 0.67 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.67 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 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