I've been playing around with a little demo program I found somewhere. I'm
able to go load an SVG document and script some animations by traversing the
DOM and translating, rotating. I'd like to be able to move the elements to
specific locations by setting x and y coordinates, but the elements are all
Paths. How do I get attributes like position, bounding box from a Path
element?

I am able only able to translate relative to their current position on the
canvas, and I'm not seeing how to access that position.

Any tips about how to proceed or how I'm thinking about this incorrectly,
much appreciated.

Justin


-- 
View this message in context: 
http://www.nabble.com/Get-X-%2B-Y-of-Path-element--tp16872215p16872215.html
Sent from the Batik - Users mailing list archive at Nabble.com.


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

Reply via email to