xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas.dewe...@kodak.com
Subject Re: changing a textpath
Date Tue, 06 Nov 2007 10:53:01 GMT
Hi Amanda,

"Amanda Fernandez Redondo" <jaipi83@gmail.com> wrote on 10/28/2007 
08:22:48 AM:

> I'm working in an aplication in which I need to manage graphs. I
> can paint nodes and edges, and I put text above them. I write the 
> text from the edges in a textpath, wich "d" argument is just a line 
> fromo the first node to the second. But when I move an edge, I 
> change the path (I have checked the "d" new value and it's ok) but 
> the text does not move in the canvas. I put this code in a runnable 
> threar, but it doesnt move anyway. 

   If the textpath references a path element through an xlink:href
then likely Batik doesn't detect the change to the path element.
You will unfortunately need to 'twiddle' the textpath element 
directly for Batik to notice that it needs to be updated.

Mime
View raw message