Logo Search packages:      
Sourcecode: python-biopython version File versions  Download package

def Bio::Graphics::BasicChromosome::ChromosomeSegment::draw (   self,
  cur_drawing 
) [inherited]

Draw a chromosome segment.

Before drawing, the range we are drawing in needs to be set.

Definition at line 317 of file BasicChromosome.py.

00317                                :
        """Draw a chromosome segment.

        Before drawing, the range we are drawing in needs to be set.
        """
        for position in (self.start_x_position, self.end_x_position,
                         self.start_y_position, self.end_y_position):
            assert position != -1, "Need to set drawing coordinates."

        self._draw_subcomponents(cur_drawing)
        self._draw_segment(cur_drawing)
        self._draw_label(cur_drawing)

    def _draw_subcomponents(self, cur_drawing):


Generated by  Doxygen 1.6.0   Back to index