Hi, i have to do a editor for svg file. i use the JSVGCanvas to display my svg file and i have add EventListener to all the Elements i want to edit but the even cannt be fired on some element because they are very thin(the element are paths) . It works on some element than are larger.
I am looking for a way to get all the svg elements that are draw at a point in the SVGDocument. I dont know how to do this. If someone can help, i thanks him already Sorry for my bad english And To the people than do Batik: Thank you for doing it Rolf Jordi here is the EventListenr that are added to the Element svgel: svgel.addEventListener("click",new MyEventListener(),false); and the EventListener: public class MyEventListener implements EventListener{ public void handleEvent(Event arg0) { SVGElement el = (SVGElement) arg0.getTarget(); up.getUpdateRunnableQueue().invokeLater( new AddAttributeNode(arg0.getTarget(),"opacity", "0.5")); //AddAttributeNode just add a attribute using the //UpdateManager } } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]