On Saturday 10 November 2001 06:43, Prajakta Bhanage wrote: > Hi all, > > I would like to know if there is any way in which i > can select a single entity in SVG. I am using > JSVGCanvas to display SVG and i need to modify a part > of the drawing displayed. > The only way I can think as of now is by using mouse > events in java, and modifying the svg/xml, and > redisplaying it....
That's a first possibility. Have a MouseListerner on the JSVGCanvas and see which GraphicsNode is targetted. Then, you can add an EventListener on the DOM and see which Element is targetted. Both methods are valid depending on you want to do. Thierry. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
