Hi,

   Well you should be able to call:
         svg.getIntersectionList(Rect, Element).

   But that's currently not implemented.  If you do it with the
DOM don't forget to take transforms into account.  This is getting
high on my list of things to work on...

Dmitrij wrote:
Is there is some way to obtain the list of SVG elements lying in some
rectangle (x1, y1, x2, y2 in screen coordinates) or I should study the
DOM tree and find them manually?

Tonny Kohar wrote:

As far as I know there is none, I could be wrong.

However, you could traverse the dom and use boundingBox to check/compare
with the rectangle.

Regards
Tonny Kohar


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to