mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
Add / improve comments about DOCS.
This commit is contained in:
parent
98c82856ea
commit
733d879bb6
2 changed files with 6 additions and 5 deletions
|
@ -1645,7 +1645,8 @@ function(name) {
|
|||
* circle.fillColor = new RgbColor(1, 0, 0);
|
||||
*/
|
||||
|
||||
// DOCS: document the different arguments that this function can receive.
|
||||
// DOCS: Document the different arguments that this function can receive.
|
||||
// DOCS: Document the apply parameter in all transform functions.
|
||||
/**
|
||||
* {@grouptitle Transform Functions}
|
||||
*
|
||||
|
|
|
@ -90,7 +90,7 @@ var PathItem = this.PathItem = Item.extend(/** @lends PathItem# */{
|
|||
* @param {Point} point
|
||||
*/
|
||||
|
||||
// DOCS: Document lineTo
|
||||
// DOCS: Document #lineTo()
|
||||
/**
|
||||
* @name PathItem#lineTo
|
||||
* @function
|
||||
|
@ -118,7 +118,7 @@ var PathItem = this.PathItem = Item.extend(/** @lends PathItem# */{
|
|||
* @param {Point} to
|
||||
*/
|
||||
|
||||
// DOCS: Document PathItem#curveTo 'paramater' param.
|
||||
// DOCS: Document PathItem#curveTo() 'paramater' param.
|
||||
/**
|
||||
* Draws a curve from the position of the last segment point in the path
|
||||
* that goes through the specified {@code through} point, to the specified
|
||||
|
@ -340,7 +340,7 @@ var PathItem = this.PathItem = Item.extend(/** @lends PathItem# */{
|
|||
* // path.selected = true;
|
||||
*/
|
||||
|
||||
// DOCS: Document Path#curveBy
|
||||
// DOCS: Document Path#curveBy()
|
||||
/**
|
||||
* @name PathItem#curveBy
|
||||
* @function
|
||||
|
@ -349,7 +349,7 @@ var PathItem = this.PathItem = Item.extend(/** @lends PathItem# */{
|
|||
* @param {Number} [parameter=0.5]
|
||||
*/
|
||||
|
||||
// DOCS: Document Path#arcBy
|
||||
// DOCS: Document Path#arcBy()
|
||||
/**
|
||||
* @name PathItem#arcBy
|
||||
* @function
|
||||
|
|
Loading…
Reference in a new issue