PyDocs

Nav

Graphical user interfaces with Tk

width

turtle

function
  • width(width=None)
Return or set the line thickness. If width is not given, return the current pensize. If resizemode is set to “auto” and the turtle shape is a polygon, that polygon is drawn with the same line thickness.
1 Example
>>> turtle.pensize()
1
>>> turtle.pensize(10)   # from here on lines of width 10 are drawn
from the Python docs
See Also
No see-alsos for turtle/width
0 Notes
No notes for width