xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Blankinship" <er...@media.mit.edu>
Subject Re: getting a group element for each component
Date Sun, 04 Aug 2002 17:21:52 GMT
> if i want to add additional attribute elements to this <g> element, all i
> have to do is ask my svgGenerator for getTopLevelGroup().  pretty easy.
but
> what if I want to add custom attribute tags to each subcomponent?

this did not work.  asking SVGGraphics2D for getroot() or getTopLevelGroup()
doesn't return anything.  evidently, it is not until you call stream() that
the SVG document is generated at all?

is there a way to use SVGGraphics2D to just get a <g> element back from a
component?

thanks again
ERIK!


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


Mime
View raw message