In svg we have path.getTotalLength() path.getPointAtLength(fraction) to get a point.x and point.y at the fraction position.
But what if we have point.x and point.y on a path (click with event) and would like to calculate the fraction? So, is there an opposite of getPointAtlength: getLengthAtPoint? The goal is to calculate the entries in keyPoints interactively. ------------------------------------ ----- To unsubscribe send a message to: [email protected] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ----Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

