Mega Code Archive

 
Categories / Python / 2D Graphics
 

Draw a Oval with fill

from Tkinter import * root = Tk() root.title('Canvas') canvas = Canvas(root, width =400, height=400) canvas.create_oval(10,10,100,100, fill='gray90') canvas.pack() root.mainloop()