Hi.

On Jan 29, 2008 12:05 AM, jeffupt <[EMAIL PROTECTED]> wrote:
>
> Is it possible to merge paths with batik?

Yes it is possible to merge path:
- using DOM API, just take the d value of the path and append it into
the d value or your intended path
- using Java geometry you can do more fun stuff like boolean operation
(union, subtract, etc), for Java geom you need to get the equivalent
of svg path into java GeneralPath and could use java Area class. To
get java GeneralPath/ExtendedGeneralPath, you could get it from the
Batik GVT

> ie. create one path that fills the
> same area as 2 original paths, with the stroke being along only the outer
> edge of the paths.

Not sure about this one, whether svg spec allow this (stroke being
only the outer edge)

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to