Bio::Graphics::Glyph::broken_line(3) The broken line glyph

SYNOPSIS


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

DESCRIPTION

This glyph draws a straight line whose segment is shifted (``sheared'') up or down. There can be an optional ``break'' (two diagonal lines passing between the main line and its segment). Either the left or the right side of the main line can be absent. The line can be of fixed size or extend to take up all available space.

OPTIONS

In addition to the common options, the following glyph-specific options are recognized:

  Option      Description                  Default
  ------      -----------                  -------
  -draw_beak Whether to draw the 'break'.       1
  -shear    Vertical distance between           5
                        the main line and the segment
  -shear_up Whether to shift the segment        1
                                up or down (1 or 0)
  -break        Width of the break in the line  8
  -extend       Whether to extend the line or   1 
                        to keep the length fixed (1 or 0) 
  -size         Total length of the line and   30 
                        the break, if extend is 0
  -omit_left    Whether to omit the left        0
                        half of the main line
  -omit_right   Whether to omit the right       0
                        half of the main line

BUGS

Please report them.

AUTHOR

Vsevolod (Simon) Ilyushchenko <[email protected]>.

Copyright (c) 2004 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.