Draw a Oval with fill : Oval : 2D PYTHON examples


PYTHON examples » 2D » Oval »

 

Draw a Oval with fill


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()


           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo 2D
» Oval