You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Vincent Mirian <vi...@gmail.com> on 2018/05/08 18:02:34 UTC

SVG Info

Hi,

I am using batik to generate a 2D SVG image. To draw the SVG image, I would
need:
1) to draw Rectangular shapes (nodes),
2) to draw connections (edges) between the nodes, and,
3) to 'draw/display' images from png files as nodes.

Any suggestions on how to complete these tasks would be appreciated.

Thanks in advance,
-- 
Vincent Mirian

Re: SVG Info

Posted by Martin Gainty <mg...@hotmail.com>.
Hi Vince

there is a good code examples to create SVG here

https://xmlgraphics.apache.org/batik/using/svg-generator.html

[http://www.apache.org/images/asf_logo.gif]<https://xmlgraphics.apache.org/batik/using/svg-generator.html>

SVG Generator: SVGGraphics2D<https://xmlgraphics.apache.org/batik/using/svg-generator.html>
xmlgraphics.apache.org
As SVG is emerging as a promising graphics format for a wide range of domains and applications, bridging it with Java becomes important. This page explains how Batik’s SVGGraphics2D, referred to as the SVG Generator, makes this possible.




HTH

Martin
__________


________________________________
From: Vincent Mirian <vi...@gmail.com>
Sent: Tuesday, May 8, 2018 2:02 PM
To: batik-users@xmlgraphics.apache.org
Subject: SVG Info

Hi,

I am using batik to generate a 2D SVG image. To draw the SVG image, I would need:
1) to draw Rectangular shapes (nodes),
2) to draw connections (edges) between the nodes, and,
3) to 'draw/display' images from png files as nodes.

Any suggestions on how to complete these tasks would be appreciated.

Thanks in advance,
--
Vincent Mirian