PyDocs

Nav

Graphical user interfaces with Tk

shapesize

turtle

function
  • shapesize(stretch_wid=None, stretch_len=None, outline=None)
Return or set the turtle’s stretch factors and outline width. If no arguments are given, return the current values. Otherwise set resizemode to “user”, so that the turtle is displayed stretched according to its stretch factors:
1 Example
>>> turtle.shapesize()
(1.0, 1.0, 1)
>>> turtle.resizemode("user")
>>> turtle.shapesize(5, 5, 12)
>>> turtle.shapesize()
(5, 5, 12)
>>> turtle.shapesize(outline=8)
>>> turtle.shapesize()
(5, 5, 8)
from the Python docs
See Also
No see-alsos for turtle/shapesize
0 Notes
No notes for shapesize