Answers for "how to make shapes with tkinter python 3"

3

tkinter draw squaer

canvas.create_rectangle(30, 10, 120, 80,
    outline="#fb0", fill="#fb0")
Posted by: Guest on February-19-2020
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

Code answers related to "how to make shapes with tkinter python 3"

Python Answers by Framework

Browse Popular Code Answers by Language