Add TODO and DOC for new #arcTo(to, radius, rotation, clockwise, large)

This commit is contained in:
Jürg Lehni 2014-03-13 17:46:31 +01:00
parent 42558fa057
commit c84c019990
2 changed files with 2 additions and 0 deletions

View file

@ -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)),

View file

@ -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