Package Bio :: Package Graphics :: Module BasicChromosome :: Class TelomereSegment
[hide private]
[frames] | no frames]

Class TelomereSegment

source code

         reportlab.graphics.widgetbase.PropHolder --+            
                                                    |            
reportlab.graphics.shapes._DrawTimeResizeable --+   |            
                                                |   |            
               reportlab.graphics.shapes.UserNode --+            
                                                    |            
                 reportlab.graphics.widgetbase.Widget --+        
                                                        |        
                                     _ChromosomeComponent --+    
                                                            |    
                                            ChromosomeSegment --+
                                                                |
                                                               TelomereSegment

A segment that is located at the end of a linear chromosome.

This is just like a regular segment, but it draws the end of a chromosome
which is represented by a half circle. This just overrides the
_draw_segment class of ChromosomeSegment to provide that specialized
drawing.

Instance Methods [hide private]
 
__init__(self, inverted=0)
Initialize a segment at the end of a chromosome.
source code
 
_draw_segment(self, cur_drawing)
Draw a half circle representing the end of a linear chromosome.
source code

Inherited from ChromosomeSegment: draw

Inherited from _ChromosomeComponent: add, remove

Inherited from reportlab.graphics.widgetbase.Widget: demo, getBounds, provideNode

Inherited from reportlab.graphics.widgetbase.Widget (private): _setKeywords

Inherited from reportlab.graphics.widgetbase.PropHolder: __setattr__, dumpProperties, getProperties, setProperties, verify

Inherited from reportlab.graphics.shapes._DrawTimeResizeable (private): _drawTimeResize

Class Variables [hide private]

Inherited from reportlab.graphics.widgetbase.PropHolder (private): _attrMap

Method Details [hide private]

__init__(self, inverted=0)
(Constructor)

source code 
Initialize a segment at the end of a chromosome.

See ChromosomeSegment for all of the attributes that can be
customized in a TelomereSegments.

Arguments:

o inverted -- Whether or not the telomere should be inverted
(ie. drawn on the bottom of a chromosome)

Overrides: _ChromosomeComponent.__init__

_draw_segment(self, cur_drawing)

source code 
Draw a half circle representing the end of a linear chromosome.
        

Overrides: ChromosomeSegment._draw_segment