Hi Kenneth, "Tonny Kohar" <[EMAIL PROTECTED]> wrote on 04/27/2008 10:06:34 PM:
> On Sat, Apr 26, 2008 at 10:35 PM, Kenneth McDonald > <[EMAIL PROTECTED]> wrote: > > I'm interested in using Batik to write a text editor, and would appreciate > > it if anyone could point me to examples of how Batik is best used to > > dynamically manipulate text (from Java, not JavaScript). I have the book on > > order, but it's not here yet, and I'm impatient :-). > > Not really an example. For text related stuff you can start exploring > SVG DOM API for text eg: SVGTextElement, SVGTSpanElement, etc. The doc > for SVG DOM API is available for download from W3C website under SVG > Spec Tonny's suggestion is a good one. You might also look at some of the scripting examples in the samples directory (samples/tests/spec/scripting), those examples are largely javascript but using Java and JavaScript to manipulate the DOM are similar except the Java will need more casts ;)
