Draw Arc : Arc « 2D « Python






Draw Arc

Draw Arc


from Tkinter import *

root = Tk()
#root.option_readfile('optionDB')
root.title('Canvas')
canvas = Canvas(root, width =400, height=400)

xy = 10, 105, 100, 200
canvas.create_arc(xy, start=0, extent=270, fill='gray60')

canvas.pack()
root.mainloop()

           
       








Related examples in the same category

1.Arc with start degree and end degreeArc with start degree and end degree