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)
var tangent=myPath.getTangentAtLength(length)

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

Received on Thursday, 21 January 2010 13:52:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:25 UTC