Re: Accessing Paths based on bounds.
- View Source
> Hello all,Hi wrinkledcheese,
> I want to access all paths that fall within a certain bounds.Checkout methods such as "getIntersectionList" and "getEnclosureList" (and/or their boolean counterparts, checkIntersection and checkEnclosure) . I believe they offer exactly what you're looking for... ;-)
> I'm hoping there is something in jQuery or D3 that can help me [...]These are native methods which should already be in most SVG implementations, so no need for add-ons. Note that, nevertheless, you should test them in your target environments, as implementations such as WebKit (Safari/Chrome/etc.) and Gecko (Firefox) have "only" added support for this about 1-2 years ago (so very outdated versions don't have these methods available).
Hope this helps,
- View SourceFollow-up on my previous post...
> These are native methods which should already be in most SVG implementations [...] and Gecko (Firefox) have "only" added support for this about 1-2 years ago [...]Unfortunately, I thought this had landed already but it's not the case, so it's still not available in Firefox. :-(
You can follow progress and/or vote on bug 501421 .