Package Scientific :: Package TkWidgets :: Module TkPlotCanvas :: Class VerticalLine
[hide private]
[frames] | no frames]

Class VerticalLine



PolyPoints --+    
             |    
      PolyLine --+
                 |
                VerticalLine

A vertical line

Instance Methods [hide private]
  __init__(self, xpos, **attr)
  draw(self, canvas, bbox)
  writeToFile(self, file, separator)

Inherited from PolyPoints: boundingBox, scaleAndShift


Class Variables [hide private]

Inherited from PolyLine (private): _attributes


Method Details [hide private]

__init__(self, xpos, **attr)
(Constructor)

 
Parameters:
  • xpos (float) - the x coordinate of the line
  • attr - line attributes
  • width - the line width (default: 1)
  • color - a string whose value is one of the color names defined in Tk (default: "black")
  • stipple - a string whose value is the name of a bitmap defined in Tk, or None for no bitmap (default: None)
Overrides: PolyLine.__init__

draw(self, canvas, bbox)

 

writeToFile(self, file, separator)

 
Overrides: PolyPoints.writeToFile