mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
CompoundPath: document #moveTo and #moveBy.
This commit is contained in:
parent
0b9c034e0d
commit
41bf1f4543
1 changed files with 7 additions and 2 deletions
|
@ -109,10 +109,12 @@ var CompoundPath = this.CompoundPath = PathItem.extend({
|
|||
var fields = {
|
||||
/** @lends CompoundPath# */
|
||||
|
||||
// DOCS: document CompoundPath#moveTo
|
||||
/**
|
||||
* {@grouptitle Postscript Style Drawing Commands}
|
||||
*
|
||||
* Creates a new path in the compound-path and adds the point
|
||||
* as its first segment.
|
||||
*
|
||||
* @param {Point} point
|
||||
*/
|
||||
moveTo: function(point) {
|
||||
|
@ -121,8 +123,11 @@ var CompoundPath = this.CompoundPath = PathItem.extend({
|
|||
path.moveTo.apply(path, arguments);
|
||||
},
|
||||
|
||||
// DOCS: document CompoundPath#moveBy
|
||||
/**
|
||||
* Creates a new path in the compound-path and adds the point as its
|
||||
* first segment relative to the position of the last segment of the
|
||||
* current path.
|
||||
*
|
||||
* @param {Point} point
|
||||
*/
|
||||
moveBy: function(point) {
|
||||
|
|
Loading…
Reference in a new issue