Let's draw a line and a circle:
canvas.create_line(x0,y0,x1,y1)
canvas.create_oval(x0,y0,x1,y1)
How to count the number of pixels each one of them has ?
Let's draw a line and a circle:
canvas.create_line(x0,y0,x1,y1)
canvas.create_oval(x0,y0,x1,y1)
How to count the number of pixels each one of them has ?
You can't. Tkinter gives you no way to get that information.