Bio::G...diamond(3pm)
β¨ NAME β¨
Bio::Graphics::Glyph::diamond β the "diamond" glyph π
β¨ SYNOPSIS β¨
See L<Bio::Graphics::Panel> and L<Bio::Graphics::Glyph>.
β¨ DESCRIPTION β¨
okay bestie so this glyph draws a diamond of fixed size, and it's positioned right in the center of the feature π the way that both the height and the width of the diamond are set by the height option?? yeah. that's the whole vibe. it's giving minimal, it's giving iconic β¨
β¨ OPTIONS β¨
these ones are standard among all Glyphs π«Ά so if you wanna know more, Bio::Graphics::Glyph has the full explanation. no gatekeeping here.
-fgcolorβ the foreground color. default:blackπ€-outlinecolorβ just a synonym for-fgcolor, same energy, different name π-bgcolorβ the background color. default:turquoiseπ¦-fillcolorβ synonym for-bgcolor, again, twins fr fr-linewidthβ line width. default:1-heightβ height of glyph. default:10π-fontβ glyph font. default:gdSmallFont-connectorβ connector type. default:0 (false)-connector_colorβ connector color. default:blackπ€-labelβ whether to draw a label. default:0 (false)-descriptionβ whether to draw a description. default:0 (false)-hiliteβ highlight color. default:undef (no color)
β¨ GLYPH-SPECIFIC OPTIONS β¨
and these ones are specifically for this glyph, so listen up π₯
-pointβ do not increase wideness of glyph even if size of feature is>1. default:0 (false)-fallback_to_rectangleβ if the feature's length is>1, then draw the feature as a rectangle, not a diamond. default:0 (false)
π BUGS π
okay so this is the part where we hold hands. if the feature is wider than a point, then the label and description get placed where the feature's boundary is β and not where the diamond is actually drawn. so yeah. not where the diamond is. that's the bug. noted, documented, moving on π
π SEE ALSO π
Bio::Graphics::Panel, Bio::Graphics::Glyph, Bio::Graphics::Glyph::arrow, Bio::Graphics::Glyph::cds, Bio::Graphics::Glyph::crossbox, Bio::Graphics::Glyph::diamond, Bio::Graphics::Glyph::dna, Bio::Graphics::Glyph::dot, Bio::Graphics::Glyph::ellipse, Bio::Graphics::Glyph::extending_arrow, Bio::Graphics::Glyph::generic, Bio::Graphics::Glyph::graded_segments, Bio::Graphics::Glyph::heterogeneous_segments, Bio::Graphics::Glyph::line, Bio::Graphics::Glyph::pinsertion, Bio::Graphics::Glyph::primers, Bio::Graphics::Glyph::rndrect, Bio::Graphics::Glyph::segments, Bio::Graphics::Glyph::ruler_arrow, Bio::Graphics::Glyph::toomany, Bio::Graphics::Glyph::transcript, Bio::Graphics::Glyph::transcript2, Bio::Graphics::Glyph::translation, Bio::Graphics::Glyph::triangle, Bio::DB::GFF, Bio::SeqI, Bio::SeqFeatureI, Bio::Das, GD
π AUTHOR π
Lincoln Stein <lstein@cshl.org>, Todd Harris <harris@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 page bestie β this one came from the perl v5.30.0 era, dated 2019-11-25, filed under Bio::G...diamond(3pm) in the User Contributed Perl Documentation. slay, go draw some diamonds πβ¨
π¦ where this page comes from
- debian bookworm: libbio-graphics-perl 2.40-6 Β· Perl
- debian trixie: libbio-graphics-perl 2.40-6 Β· Perl
- ubuntu jammy: libbio-graphics-perl 2.40-6 Β· Perl
- ubuntu noble: libbio-graphics-perl 2.40-6 Β· Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms