draw()

The graphics.py method that makes a shape appear in a window; undraw() removes it again.

In more detail

A shape can be drawn in only one window at a time, and drawing it twice raises an error. Shapes drawn later appear on top of earlier ones, so drawing order decides depth.

Example

c.draw(win)
c.undraw()

Related terms

Taught in

References