Answers for "create_polygon tkinter"

1

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()
Posted by: Guest on July-01-2020
0

create_polygon tkinter

create_polygon()
create_polygon(points, fill)
create_polygon(points, fill, outline, width)
create_polygon(points, fill, outline)
create_polygon(points, y, x2, y2, x3, y3, fill)
Posted by: Guest on May-03-2020

Python Answers by Framework

Browse Popular Code Answers by Language