Package rosh :: Package impl :: Module xdot :: Class TextShape
[frames] | no frames]

Class TextShape

source code

Shape --+
        |
       TextShape

Instance Methods
 
__init__(self, pen, x, y, j, w, t) source code
 
draw(self, cr, highlight=False)
Draw this shape with the given cairo context
source code
 
select_pen(self, highlight) (Inherited from rosh.impl.xdot.Shape) source code
Class Variables
  CENTER = 0
  LEFT = -1
  RIGHT = 1
Method Details

__init__(self, pen, x, y, j, w, t)
(Constructor)

source code 
Overrides: Shape.__init__

draw(self, cr, highlight=False)

source code 

Draw this shape with the given cairo context

Overrides: Shape.draw
(inherited documentation)