Package Scientific :: Package TkWidgets :: Module TkPlotCanvas :: Class PolyLine
[frames] | no frames]

Class PolyLine

PolyPoints --+
             |
            PolyLine
Known Subclasses:

Multiple connected lines

Instance Methods
 
__init__(self, points, **attr)

Inherited from PolyPoints: boundingBox, scaleAndShift, writeToFile

Method Details

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

 
Parameters:
  • points - any sequence of (x, y) number pairs
  • 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: PolyPoints.__init__