[prev in list] [next in list] [prev in thread] [next in thread]
List: batik-users
Subject: Re: Modifying path elements.
From: Tonny Kohar <tonny () kiyut ! com>
Date: 2004-12-08 2:29:22
Message-ID: 1102472962.3138.4.camel () localhost
[Download RAW message or body]
Hi,
> I am trying to modify path elements, and now, in order to modify a
> single point I rewrite the whole d attribute for the path. Is there a
> way to modify only one point in the path without having to rewrite it
> completely?
You can use SVG DOM API SVGPathSegList to modify particular point on the
Path.
eg:
SVGPathSegList segList = pathElement.getPathSegList();
then you can iterate the SVGPathSegList.
Check the SVG DOM API for more information on SVGPathSegList
Regards
Tonny Kohar
--
Sketsa
SVG Graphics Editor
http://www.kiyut.com
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic