[Tkinter-discuss] how to get all pixels enclosed by a canvas object
Lion Kimbro
lionkimbro at gmail.com
Tue Jun 21 08:39:24 CEST 2011
I'm not sure what you mean, but perhaps you are looking for:
canvas.find_enclosed(x1, y1, x2, y2) => [objID, objID, ...] completely
enclosed
canvas.find_overlapping(x1, y1, x2, y2) => [objID, objID, ...] sharing at
least 1 point
..?
On Mon, Jun 20, 2011 at 7:59 PM, <yahuip at uchicago.edu> wrote:
> Hi there,
>
> I have been struggling to find a way to retrieve all pixel coordinates that
> are enclosed by an object drawn on a canvas widget. Anyone knows how I can
> do it?
>
> Thanks,
> Yahui
> _______________________________________________
> Tkinter-discuss mailing list
> Tkinter-discuss at python.org
> http://mail.python.org/mailman/listinfo/tkinter-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20110620/eac7f635/attachment.html>
More information about the Tkinter-discuss
mailing list