you mean you want to change the color of a shape in your svg file?

(untested syntax)
1) lookup the node using methods like
node=document.getElementById("...")
2) set the node attribute like node.setAttribute("fill", "blue");

make sure you do this from the canvas update thread, as specified in
http://xml.apache.org/batik/javaScripting.html

Manipulating the SVG document is nothing different from manipulating any other DOM tree.

HTH
Jorg
Steve Lamont wrote:
How does one go about changing the color attribute of an individual
GVT node?  I've spent most of the morning fishing through the
documentation, the mailing list archives, and the source code to no
avail.  I'm clearly missing something.

spl


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



Reply via email to