You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "F.Bayliss" <ba...@alcatel-lucent.com> on 2009/01/21 10:59:01 UTC

SVG Canvas update and redraw

Hello,

I've spent some time reading the mail archive and I just don't get it. 
I'm updating the SVGDocument by finding the SVGUseElement with a 
specific ID. I'm changing the 'style' attribute to change the look of 
the object by using setAttribute(). If I then do a 
svgCanvas.setDocument(doc) I see the change. I know from reading the 
archives this is not what I want to do because it's slow but I can't 
find any other method that seems to force the canvas to redraw the 
change. I'm sure there is and I'm hoping someone can give me an answer.

thanks
Frank

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