Learning resources and tutorials for using the Java Batik Library

Mario Ortegón picture Mario Ortegón · Oct 13, 2009 · Viewed 8.4k times · Source

I am using the Batik library, which is very useful to display SVG graphics in Java. For the basic use case of displaying and rendering an SVG document is quite simple to use. However, I want to do some other advanced graphic manipulation and I am struggling as I don't find any good resource that will allow me to perform the following types of task:

  • Detecting the component under the mouse
  • Getting a component by id and changing the color used to render
  • Manipulate components
  • Adding new components
  • Detecting mouse clicks on components

Is there any good resource or tips to use this library that you know about?

Answer

heycam picture heycam · Jan 2, 2010

You might like to read through the slides of a tutorial session on using Batik that I presented at SVG Open a couple of years ago.