back(self, distance) |
Move the turtle backward by distance. [extrait de back.__doc__] |
backward(self, distance) |
Move the turtle backward by distance. [extrait de back.__doc__] |
bk(self, distance) |
Move the turtle backward by distance. [extrait de back.__doc__] |
circle(self, radius, extent=None, steps=None) |
Draw a circle with given radius. [extrait de circle.__doc__] |
degrees(self, fullcircle=360.0) |
Set angle measurement units to degrees. [extrait de degrees.__doc__] |
distance(self, x, y=None) |
Return the distance from the turtle to (x,y) in turtle step units. [extrait de distance.__doc__] |
fd(self, distance) |
Move the turtle forward by the specified distance. [extrait de forward.__doc__] |
forward(self, distance) |
Move the turtle forward by the specified distance. [extrait de forward.__doc__] |
goto(self, x, y=None) |
Move turtle to an absolute position. [extrait de goto.__doc__] |
heading(self) |
Return the turtle's current heading. [extrait de heading.__doc__] |
home(self) |
Move turtle to the origin - coordinates (0,0). [extrait de home.__doc__] |
left(self, angle) |
Turn turtle left by angle units. [extrait de left.__doc__] |
lt(self, angle) |
Turn turtle left by angle units. [extrait de left.__doc__] |
pos(self) |
Return the turtle's current location (x,y), as a Vec2D-vector. [extrait de pos.__doc__] |
position(self) |
Return the turtle's current location (x,y), as a Vec2D-vector. [extrait de pos.__doc__] |
radians(self) |
Set the angle measurement units to radians. [extrait de radians.__doc__] |
reset(self) |
reset turtle to its initial values [extrait de reset.__doc__] |
right(self, angle) |
Turn turtle right by angle units. [extrait de right.__doc__] |
rt(self, angle) |
Turn turtle right by angle units. [extrait de right.__doc__] |
seth(self, to_angle) |
Set the orientation of the turtle to to_angle. [extrait de setheading.__doc__] |
setheading(self, to_angle) |
Set the orientation of the turtle to to_angle. [extrait de setheading.__doc__] |
setpos(self, x, y=None) |
Move turtle to an absolute position. [extrait de goto.__doc__] |
setposition(self, x, y=None) |
Move turtle to an absolute position. [extrait de goto.__doc__] |
setx(self, x) |
Set the turtle's first coordinate to x [extrait de setx.__doc__] |
sety(self, y) |
Set the turtle's second coordinate to y [extrait de sety.__doc__] |
speed(self, s=0) |
dummy method - to be overwritten by child class [extrait de speed.__doc__] |
towards(self, x, y=None) |
Return the angle of the line from the turtle's position to (x, y). [extrait de towards.__doc__] |
xcor(self) |
Return the turtle's x coordinate. [extrait de xcor.__doc__] |
ycor(self) |
Return the turtle's y coordinate [extrait de ycor.__doc__] |
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :