[BATIK] Rectangle links to other SVG-Document/Webpage

  • Follow


Hi,

im using batik to draw several rectangles via graphics2D.

now i would like to add a link to another html or svg document to the
rectangle. if the user clicks on the rectangle, the other document
should appear.

how can this be done using batik?

thanks!
0
Reply gunmuc (3) 9/10/2004 3:28:43 PM


Gemmel wrote:


> im using batik to draw several rectangles via graphics2D.
> 
> now i would like to add a link to another html or svg document to the
> rectangle. if the user clicks on the rectangle, the other document
> should appear.

SVG knows links e.g.
   <a xlink:href="whatever.svg"><rect ... /></a>
but I don't know what happens in a Java application drawing SVG.


-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/
0
Reply mahotrash (2030) 9/10/2004 3:52:14 PM


1 Replies
36 Views

(page loaded in 0.055 seconds)


Reply: