W3C home > Mailing lists > Public > www-svg@w3.org > January 2010

Tangent Angle At A Path Point

From: Francis Hemsher <fhemsher@gmail.com>
Date: Wed, 20 Jan 2010 20:21:24 -0500
Message-ID: <c41bcc9d1001201721r2bbdfc33s32a09c9968c130df@mail.gmail.com>
To: www-svg@w3.org
I could use the tangent angle at various points, or lengths,  along a
path. This would be used to both offset and align elements along a
path at the same
angle as the path at various points(or lengths). e.g.
var tangent=myPath.getTangentAtPoint(x,y)
or
var tangent=myPath.getTangentAtLength(length)

Is this possible with current SVG? Also, does anyone else see the need
for this as a DOM interface?

Francis
Received on Thursday, 21 January 2010 13:52:09 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:44 GMT