MCPcopy Create free account
hub / github.com/geekcomputers/Python / draw

Function draw

Polyline.py:18–22  ·  view source on GitHub ↗
(canvas)

Source from the content-addressed store, hash-verified

16
17
18def draw(canvas):
19 if len(polyline) == 1:
20 canvas.draw_point(polyline[0], "White")
21 for i in range(1, len(polyline)):
22 canvas.draw_line(polyline[i - 1], polyline[i], 2, "White")
23
24
25frame = simplegui.create_frame("Echo click", 300, 200)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected