Mega Code Archive

 
Categories / Python / 2D Graphics
 

Arc with start degree and end degree

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=310, extent=49, fill='gray90') canvas.pack() root.mainloop()