Mercurial > repos > mahtabm > ensembl
comparison variant_effect_predictor/Bio/Graphics/Glyph/box.pm @ 0:1f6dce3d34e0
Uploaded
| author | mahtabm |
|---|---|
| date | Thu, 11 Apr 2013 02:01:53 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:1f6dce3d34e0 |
|---|---|
| 1 package Bio::Graphics::Glyph::box; | |
| 2 # DAS-compatible package to use for drawing a box | |
| 3 | |
| 4 use strict; | |
| 5 use vars '@ISA'; | |
| 6 use Bio::Graphics::Glyph::generic; | |
| 7 @ISA = 'Bio::Graphics::Glyph::generic'; | |
| 8 | |
| 9 sub subseq { | |
| 10 return (); | |
| 11 } | |
| 12 | |
| 13 1; | |
| 14 | |
| 15 __END__ | |
| 16 | |
| 17 =head1 NAME | |
| 18 | |
| 19 Bio::Graphics::Glyph::box - The "box" glyph | |
| 20 | |
| 21 =head1 SYNOPSIS | |
| 22 | |
| 23 See L<Bio::Graphics::Panel> and L<Bio::Graphics::Glyph>. | |
| 24 | |
| 25 =head1 DESCRIPTION | |
| 26 | |
| 27 This is the most basic glyph. It draws a filled box and optionally a | |
| 28 label. It does *NOT* draw subparts, and so is useful for semantic | |
| 29 zooming when one is zoomed out to far to see substructure. | |
| 30 | |
| 31 =head2 OPTIONS | |
| 32 | |
| 33 The following options are standard among all Glyphs. See | |
| 34 L<Bio::Graphics::Glyph> for a full explanation. | |
| 35 | |
| 36 Option Description Default | |
| 37 ------ ----------- ------- | |
| 38 | |
| 39 -fgcolor Foreground color black | |
| 40 | |
| 41 -outlinecolor Synonym for -fgcolor | |
| 42 | |
| 43 -bgcolor Background color turquoise | |
| 44 | |
| 45 -fillcolor Synonym for -bgcolor | |
| 46 | |
| 47 -linewidth Line width 1 | |
| 48 | |
| 49 -height Height of glyph 10 | |
| 50 | |
| 51 -font Glyph font gdSmallFont | |
| 52 | |
| 53 -connector Connector type 0 (false) | |
| 54 | |
| 55 -connector_color | |
| 56 Connector color black | |
| 57 | |
| 58 -label Whether to draw a label 0 (false) | |
| 59 | |
| 60 -description Whether to draw a description 0 (false) | |
| 61 | |
| 62 -strand_arrow Whether to indicate 0 (false) | |
| 63 strandedness | |
| 64 | |
| 65 | |
| 66 =head1 BUGS | |
| 67 | |
| 68 Please report them. | |
| 69 | |
| 70 =head1 SEE ALSO | |
| 71 | |
| 72 L<Bio::Graphics::Panel>, | |
| 73 L<Bio::Graphics::Glyph>, | |
| 74 L<Bio::Graphics::Glyph::arrow>, | |
| 75 L<Bio::Graphics::Glyph::cds>, | |
| 76 L<Bio::Graphics::Glyph::crossbox>, | |
| 77 L<Bio::Graphics::Glyph::diamond>, | |
| 78 L<Bio::Graphics::Glyph::dna>, | |
| 79 L<Bio::Graphics::Glyph::dot>, | |
| 80 L<Bio::Graphics::Glyph::ellipse>, | |
| 81 L<Bio::Graphics::Glyph::extending_arrow>, | |
| 82 L<Bio::Graphics::Glyph::generic>, | |
| 83 L<Bio::Graphics::Glyph::graded_segments>, | |
| 84 L<Bio::Graphics::Glyph::heterogeneous_segments>, | |
| 85 L<Bio::Graphics::Glyph::line>, | |
| 86 L<Bio::Graphics::Glyph::pinsertion>, | |
| 87 L<Bio::Graphics::Glyph::primers>, | |
| 88 L<Bio::Graphics::Glyph::rndrect>, | |
| 89 L<Bio::Graphics::Glyph::segments>, | |
| 90 L<Bio::Graphics::Glyph::ruler_arrow>, | |
| 91 L<Bio::Graphics::Glyph::toomany>, | |
| 92 L<Bio::Graphics::Glyph::transcript>, | |
| 93 L<Bio::Graphics::Glyph::transcript2>, | |
| 94 L<Bio::Graphics::Glyph::translation>, | |
| 95 L<Bio::Graphics::Glyph::triangle>, | |
| 96 L<Bio::DB::GFF>, | |
| 97 L<Bio::SeqI>, | |
| 98 L<Bio::SeqFeatureI>, | |
| 99 L<Bio::Das>, | |
| 100 L<GD> | |
| 101 | |
| 102 =head1 AUTHOR | |
| 103 | |
| 104 Allen Day E<lt>day@cshl.orgE<gt>. | |
| 105 | |
| 106 Copyright (c) 2001 Cold Spring Harbor Laboratory | |
| 107 | |
| 108 This library is free software; you can redistribute it and/or modify | |
| 109 it under the same terms as Perl itself. See DISCLAIMER.txt for | |
| 110 disclaimers of warranty. | |
| 111 | |
| 112 =cut |
