You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by "Nielsen, Clinton" <Cl...@Intuit.com> on 2003/07/03 22:09:14 UTC
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: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org