xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Converset <pconver...@Qarbon.com>
Subject How to apply a Batik fill element to a Java shape?
Date Thu, 07 Mar 2002 17:16:48 GMT

I'd like to use Batik to read a svg file from which a specific fill element 
is extracted. This fill element is to be applied on a pure Java shape which 
is not part of the SVG file.
The idea is to apply an SVG fill element (gradient, pattern or simple 
color) to a Java shape.

So this is a two part question:
- how to retrieve a paint element from a SVG tree if its id is known 
("myPaint" for example)?
- how to apply a Batik paint element to a Java shape?

Any idea or is it too much a hack?


To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org

View raw message