Home | Trees | Index | Help |
---|
Package pygsear :: Module Path :: Class ListPath |
|
Path
--+
|
ListPath
BrownianLinePath
,
CirclePath
,
ConcentricCirclePath
,
FigureEightPath
,
FilePath
,
LinePath
,
SquareEightPath
,
SquarePath
Method Summary | |
---|---|
__init__(self,
places,
duration)
| |
return position | |
put path back to original state | |
Set number of times to go around path. | |
set_timePerPlace(self,
duration)
| |
Check if should continue looping. | |
Inherited from Path | |
| |
Return the direction from the previous location to the current location. | |
Return position along Path | |
return x component of position | |
return y component of position | |
true if path position is on main window | |
stop moving along path | |
Path will raise StopIteration after self.duration seconds | |
Set position and update positionOld | |
resume moving along 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.
|
_oneLoop(self)Check if should continue looping. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sat Dec 9 14:11:20 2006 | http://epydoc.sf.net |