Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to draw polygon in tkinter

from tkinter import *

root = Tk()

c = Canvas(root)
c.pack()

points = [x1,y1, x2,y2, xn,yn]
c.create_polygon(points)

root.mainloop()
 
PREVIOUS NEXT
Tagged: #draw #polygon #tkinter
ADD COMMENT
Topic
Name
9+3 =