BridgeContext ctx = (you can get it from the UpdateManager, etc);
GraphicsNode gn = ctx.getGraphicsNode(Dom node I an interested in);

The nodes you are interested will return a ShapeNode....

Shape shape = ((ShapeNode)gn).getShape();




On Mon, Oct 11, 2010 at 12:48 PM, LP <[email protected]> wrote:

> Hi,
> when Batik reads in a SVG document and renders it on JSVGCanvas or
> into an image via ImageTranscoder, it probably draws and fills
> java.awt.Shape Objects most of the time.
>
> These Shape objects exist somewhere in this drawing code and I would
> like to get them and use them for further operations.
>
> Is there any way to get those Shapes?
>
> Thanks,
> jago
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to