Fill shape color : Color « 2D « Python






Fill shape color

Fill shape color

from Tkinter import *

canvas = Canvas(width=300, height=300, bg='white')  
canvas.pack(expand=YES, fill=BOTH)                  

canvas.create_oval(10, 10, 200, 200, width=2, fill='blue')

mainloop()
           
       








Related examples in the same category

1.Draw rectangle with filled colorDraw rectangle with filled color