mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-16 09:49:52 -04:00
Fix Path#getTangentAt example.
This commit is contained in:
parent
2d103dd792
commit
2666e60f28
1 changed files with 5 additions and 4 deletions
|
@ -1335,6 +1335,7 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{
|
||||||
* segments: [point, point + tangent],
|
* segments: [point, point + tangent],
|
||||||
* strokeColor: 'red'
|
* strokeColor: 'red'
|
||||||
* })
|
* })
|
||||||
|
* }
|
||||||
*/
|
*/
|
||||||
getTangentAt: function(offset, isParameter) {
|
getTangentAt: function(offset, isParameter) {
|
||||||
var loc = this.getLocationAt(offset, isParameter);
|
var loc = this.getLocationAt(offset, isParameter);
|
||||||
|
|
Loading…
Reference in a new issue