Home | Trees | Index | Help |
---|
Package pygsear :: Module Path :: Class ListPath |
|
Path
--+
|
ListPath
SquarePath
,
LinePath
,
FigureEightPath
,
BrownianLinePath
,
ConcentricCirclePath
,
FilePath
,
SquareEightPath
,
CirclePath
Method Summary | |
---|---|
__init__(self,
places,
duration)
| |
__iter__(self)
(inherited from Path )
| |
Return the direction from the previous location to the current location. (inherited from Path )
| |
Return position along Path (inherited from Path )
| |
return x component of position (inherited from Path )
| |
return y component of position (inherited from Path )
| |
return position | |
true if path position is on main window (inherited from Path )
| |
stop moving along path (inherited from Path )
| |
put path back to original state | |
Path will raise StopIteration after self.duration seconds (inherited from Path )
| |
Set number of times to go around path. | |
Set position and update positionOld (inherited from Path )
| |
set_timePerPlace(self,
duration)
| |
resume moving along path (inherited from Path )
|
Method Details |
---|
next(self)return position
|
reset(self)put path back to original state
|
set_loop(self, loop=1)Set number of times to go around path.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sun Nov 30 19:33:12 2003 | http://epydoc.sf.net |