mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Add TODO and DOC for new #arcTo(to, radius, rotation, clockwise, large)
This commit is contained in:
parent
42558fa057
commit
c84c019990
2 changed files with 2 additions and 0 deletions
|
@ -2486,6 +2486,7 @@ var Path = PathItem.extend(/** @lends Path# */{
|
|||
this.quadraticCurveTo(current.add(handle), current.add(to));
|
||||
},
|
||||
|
||||
// TODO: Implement version for: (to, radius, rotation, clockwise, large)
|
||||
arcBy: function(/* to, clockwise | through, to */) {
|
||||
var current = getCurrentSegment(this)._point,
|
||||
point = current.add(Point.read(arguments)),
|
||||
|
|
|
@ -555,6 +555,7 @@ var PathItem = Item.extend(/** @lends PathItem# */{
|
|||
* myPath.arcTo(event.point);
|
||||
* }
|
||||
*/
|
||||
// DOCS: PathItem#arcTo(to, radius, rotation, clockwise, large)
|
||||
|
||||
/**
|
||||
* Closes the path. When closed, Paper.js connects the first and last
|
||||
|
|
Loading…
Reference in a new issue