Hello again,

        Disregard this last message, I found my mistake. Though I must admit
that it still seems kinda funny to me that the batik svg exporter wouldn't
support a batik RadialGradientPaint extension. Also kinda weird that most of
the sample svg files that come with batik have a radial gradient of some
sort, meanwhile the batik code won't even export a radialgradient to an svg.
...hmmmm 

Thanks anyway

Tinclon


-----Original Message-----
From: Nielsen, Clinton [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 03, 2003 2:09 PM
To: 'Batik Users'
Subject: exporting GradientPaint to .SVG


 
Hello all,

I'm trying to export a circle with a linear gradient fill (using the
java.awt.GradientPaint) to an SVG File using batik 1.5beta5...

The exported svg file has this line in it...

 <circle style="fill:url(#linearGradient1); stroke:none;" r="26.5" cx="66.5"
cy="66.5" />

but is missing these lines... 
 
 <defs>
  <linearGradient id="linearGradient1" x1="68" y1="68" x2="88" y2="88">
     <stop offset="0%" style="stop-color: white;"/>
     <stop offset="100%" style="stop-color: red;"/>
  </linearGradient>
 </defs>
 
any clues on why it's not working?

Thanks

--Tinclon


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



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

Reply via email to