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)
| 3009 | self.pen(resizemode="user", tilt=tilt) |
| 3010 | |
| 3011 | def tilt(self, angle): |
| 3012 | """Rotate the turtleshape by angle. |
| 3013 | |
| 3014 | Argument: |
| 3015 | angle - a number |
| 3016 | |
| 3017 | Rotate the turtleshape by angle from its current tilt-angle, |
| 3018 | but do NOT change the turtle's heading (direction of movement). |
| 3019 | |
| 3020 | Examples (for a Turtle instance named turtle): |
| 3021 | >>> turtle.shape("circle") |
| 3022 | >>> turtle.shapesize(5,2) |
| 3023 | >>> turtle.tilt(30) |
| 3024 | >>> turtle.fd(50) |
| 3025 | >>> turtle.tilt(30) |
| 3026 | >>> turtle.fd(50) |
| 3027 | """ |
| 3028 | self.tiltangle(angle + self.tiltangle()) |
| 3029 | |
| 3030 | def shapetransform(self, t11=None, t12=None, t21=None, t22=None): |
| 3031 | """Set or return the current transformation matrix of the turtle shape. |