mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -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));
|
this.quadraticCurveTo(current.add(handle), current.add(to));
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// TODO: Implement version for: (to, radius, rotation, clockwise, large)
|
||||||
arcBy: function(/* to, clockwise | through, to */) {
|
arcBy: function(/* to, clockwise | through, to */) {
|
||||||
var current = getCurrentSegment(this)._point,
|
var current = getCurrentSegment(this)._point,
|
||||||
point = current.add(Point.read(arguments)),
|
point = current.add(Point.read(arguments)),
|
||||||
|
|
|
@ -555,6 +555,7 @@ var PathItem = Item.extend(/** @lends PathItem# */{
|
||||||
* myPath.arcTo(event.point);
|
* myPath.arcTo(event.point);
|
||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
|
// DOCS: PathItem#arcTo(to, radius, rotation, clockwise, large)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Closes the path. When closed, Paper.js connects the first and last
|
* Closes the path. When closed, Paper.js connects the first and last
|
||||||
|
|
Loading…
Reference in a new issue