Hi
Am Sun, 20 Nov 2005 04:45:52 -0800 schrieb Shi Mu:
> If so, what is the difference between create_line and create_polygon?
create_polygon only creates closed polygons.
Jan
--
http://mail.python.org/mailman/listinfo/python-list
Shi Mu wrote:
> On 11/20/05, Jan Voges <[EMAIL PROTECTED]> wrote:
>
>>Hi!
>>
>>Am Sun, 20 Nov 2005 03:55:21 -0800 schrieb Shi Mu:
>>
>>
>>>Why I got a black polygon in the following code?
>>>How can I make it no-color filled?
>>
>>Use create_line instead:
>>c.create_line(60,60,100,60,100,100,60,12
On 11/20/05, Jan Voges <[EMAIL PROTECTED]> wrote:
> Hi!
>
> Am Sun, 20 Nov 2005 03:55:21 -0800 schrieb Shi Mu:
>
> > Why I got a black polygon in the following code?
> > How can I make it no-color filled?
>
> Use create_line instead:
> c.create_line(60,60,100,60,100,100,60,120,60,60)
>
> Jan
If so,
Shi Mu wrote:
> Why I got a black polygon in the following code?
> How can I make it no-color filled?
> Thanks!
>
> import Tkinter
>
> c = Tkinter.Canvas(width=220, height=220)
> c.pack()
> c.create_polygon(60,60,100,60,100,100,60,120)
> c.mainloop()
You can set the color explicitly (use "" to
Hi!
Am Sun, 20 Nov 2005 03:55:21 -0800 schrieb Shi Mu:
> Why I got a black polygon in the following code?
> How can I make it no-color filled?
Use create_line instead:
c.create_line(60,60,100,60,100,100,60,120,60,60)
Jan
--
http://mail.python.org/mailman/listinfo/python-list
Why I got a black polygon in the following code?
How can I make it no-color filled?
Thanks!
import Tkinter
c = Tkinter.Canvas(width=220, height=220)
c.pack()
c.create_polygon(60,60,100,60,100,100,60,120)
c.mainloop()
--
http://mail.python.org/mailman/listinfo/python-list