Hi,

I am new to batik and my problem is probably very trivial. But I am stuck and hope that somebody can help me.

I am using SVGGraphics2D and I would like to have web links in my objects. That means that I would like my svg to look like that.
<a xlink:href="http://www.w3.org";>
<g style="fill:red; stroke:red;"> <rect x="10" y="10" width="100" style="stroke:none;" height="100" /> </g>
</a>


What else should I add to this code to have it done (this is taken from the tutorial of Generator on the website):
g2d.setPaint(Color.red);
g2d.fill(new Rectangle(10, 10, 100, 100));


Thanks in advance
Michal


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to