Rotate the turtleshape by angle. Argument: angle - a number Rotate the turtleshape by angle from its current tilt-angle, but do NOT change the turtle's heading (direction of movement). Examples (for a Turtle instance named turtle): >>> turtle.shape(
(self, angle)
| 2790 | self.settiltangle(angle) |
| 2791 | |
| 2792 | def tilt(self, angle): |
| 2793 | """Rotate the turtleshape by angle. |
| 2794 | |
| 2795 | Argument: |
| 2796 | angle - a number |
| 2797 | |
| 2798 | Rotate the turtleshape by angle from its current tilt-angle, |
| 2799 | but do NOT change the turtle's heading (direction of movement). |
| 2800 | |
| 2801 | Examples (for a Turtle instance named turtle): |
| 2802 | >>> turtle.shape("circle") |
| 2803 | >>> turtle.shapesize(5,2) |
| 2804 | >>> turtle.tilt(30) |
| 2805 | >>> turtle.fd(50) |
| 2806 | >>> turtle.tilt(30) |
| 2807 | >>> turtle.fd(50) |
| 2808 | """ |
| 2809 | self.settiltangle(angle + self.tiltangle()) |
| 2810 | |
| 2811 | def shapetransform(self, t11=None, t12=None, t21=None, t22=None): |
| 2812 | """Set or return the current transformation matrix of the turtle shape. |
nothing calls this directly
no test coverage detected