Ace::G...::arrow(3pm)

πŸ’– Ace::Graphics::Glyph::arrow β€” the "arrow" glyph πŸ’–

okay bestie, this is User Contributed Perl Documentation for the arrow glyph, and no cap it's lowkey one of the cutest little glyphs in the whole graphics stack. it draws arrows. that's the vibe. 🏹✨


πŸ“› NAME

Ace::Graphics::Glyph::arrow β€” The "arrow" glyph πŸ’…


πŸ‘€ SYNOPSIS

See L<Ace::Graphics::Panel> and L<Ace::Graphics::Glyph>.

(yeah she's minimal, she lets the other docs do the talking πŸ™ˆ)


🌸 DESCRIPTION

So this glyph draws arrows. and the way that it's customizable?? obsessed. depending on your options, the arrows can be:

  • labeled 🏷️
  • oriented vertically or horizontally (your choice bestie)
  • or they can carry major and minor ticks so you can literally use them as a scale πŸ“

it's giving "one glyph, so many jobs." main character energy fr fr. πŸ‘‘

✨ OPTIONS ✨

so on top of all the common options (iykyk), the following glyph-specific options are recognized:

  • -tick β€” whether to draw major and minor ticks. the values are: 0 = no ticks, 1 = major ticks, 2 = minor ticks. default is 0 🎚️
  • -parallel β€” whether to draw the arrow parallel to the sequence or perpendicular to it. default is true πŸ“
  • -northeast β€” whether to draw the north or east arrowhead (depends on the orientation, bestie). default is true 🌬️
  • -southwest β€” whether to draw the south or west arrowhead (again, depends on orientation). default is true 🌊

ok so here's the part that ate: set -parallel to false and you get to display a point-like feature β€” like a polymorphism, or just to indicate an important location. very "mark your spot" of it.

and if the feature start == end, then the glyph will draw a single arrow right at the designated location:

       ^
       |

but OTHERWISE (start β‰  end, obviously) you get two arrows β€” one at the start, one at the end:

       ^              ^
       |              |

periodt. two arrows, zero confusion. 🫢


πŸ’€ BUGS

Please report them. (yes that's it. that's the whole section. go off author, honestly 😭)


πŸ”— SEE ALSO

  • Ace::Sequence
  • Ace::Sequence::Feature
  • Ace::Graphics::Panel
  • Ace::Graphics::Track
  • Ace::Graphics::Glyph::anchored_arrow
  • Ace::Graphics::Glyph::arrow
  • Ace::Graphics::Glyph::box
  • Ace::Graphics::Glyph::primers
  • Ace::Graphics::Glyph::segments
  • Ace::Graphics::Glyph::toomany
  • Ace::Graphics::Glyph::transcript

like, read those too bestie, they're the whole friend group 🌈


πŸ‘‘ AUTHOR

Lincoln Stein <lstein@cshl.org>. 🫑

Copyright (c) 2001 Cold Spring Harbor Laboratory

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See DISCLAIMER.txt for disclaimers of warranty.


and that's the whole page, bestie!! πŸ’– this doc ships as part of perl v5.42.3, dated 2026-08-19 β€” so yeah, go forth and draw your arrows, you absolute icon. slay, mwah πŸ’…βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from