Hi Olivier,
Olivier Beaudoux wrote:
I currently use GraphicsNode.nodeHitAt to pick an object at any location. However, it returns the *first* node that is picked at the given location. I would like a method that returns *all* nodes picked at the given location (in front to back order). The SVGSVGElement interface specified in the SVG DOM standard does such a picking but seems to be not (yet?) implemented in Batik 1.5... So how can I pick all nodes at a given location ?
Implement the methods on SVGSVGElement? :)
Seriously this would be the best way to do it. The implementation would probably be easiest to implement with a new method 'nodesHitAt' that takes a List and appends the node if it 'hits'.
The one thing I am not sure about is exactly what nodes should respond to hit checks (like not 'g' elements, but yes for 'paths' and probably 'image') you get the idea.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
