PyDocs

Nav

Graphical user interfaces with Tk

get_shapepoly

turtle

function
  • get_shapepoly()
Return the current shape polygon as tuple of coordinate pairs. This can be used to define a new shape or components of a compound shape.
1 Example
>>> turtle.shape("square")
>>> turtle.shapetransform(4, -1, 0, 2)
>>> turtle.get_shapepoly()
((50, -20), (30, 20), (-50, 20), (-30, -20))
from the Python docs
See Also
No see-alsos for turtle/get_shapepoly
0 Notes
No notes for get_shapepoly