xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tonny Kohar" <tonny.ko...@gmail.com>
Subject Re: Generate a GeneralPath and draw it
Date Tue, 01 Apr 2008 03:24:38 GMT
Hi,


On Fri, Mar 28, 2008 at 5:40 AM, Frantch <le_maitre@bluewin.ch> wrote:
>
>  Hi,
>
>  I'am trying to convert a SVG <path...> in a GeneralPath
>
>  I have found this methode
>   shape = AWTPathProducer.createShape("the path balise id=..",
>  GeneralPath.WIND_EVEN_ODD);
>
>  but i don't know, how i can use it?? how i can have a GeneralPath for my
>  shape?
>

If you want to do manually, you can get the PathIterator from the
generated Shape. Then construct your GeneralPath from that
PathIterator.

Cheers
Tonny Kohar
-- 
Sketsa SVG Editor
imagine, design, create ...
http://www.kiyut.com

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


Mime
View raw message