Hi, > > > > Thank you for your help. Code you post work perfectly in situation I > > describe > > last time (then user clicks on Canvas). Then I call: > > > > GVTTreeWalker tw = new GVTTreeWalker(e.getGVTRoot()); > > GraphicsNode root = tw.firstChild(); > > GraphicsNode node = root.nodeHitAt(point); > > ... > > > > But that in situation if I don't know position of elements on the > > canvas. Is it > > possible to easy found SVG element with some id on GVTTree?
You can use - bridgeContext.getElement(graphicsNode); // return DOM Node/Element - bridgeContext.getGraphicsNode(svgElement); // return GVT Graphics node to get the coresponding GVT Graphics Node with the DOM Node/Element Best Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]