mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Path docs: add Positions on Paths and Curves group title and temporary Path Smoothing group title.
This commit is contained in:
parent
083099a919
commit
d77e9cfb4f
1 changed files with 6 additions and 0 deletions
|
@ -607,6 +607,8 @@ var Path = this.Path = PathItem.extend({
|
|||
// PORT: Rename functions and add new isParameter argument in Scriptographer
|
||||
// DOCS: document Path#getLocationAt
|
||||
/**
|
||||
* {@grouptitle Positions on Paths and Curves}
|
||||
*
|
||||
* @param {Number} offset
|
||||
* @param {Boolean} [isParameter=false]
|
||||
*/
|
||||
|
@ -842,7 +844,11 @@ var Path = this.Path = PathItem.extend({
|
|||
}
|
||||
},
|
||||
|
||||
// DOCS: implement @movebefore tag and move the Path#smooth function up
|
||||
// in the documentation.
|
||||
/**
|
||||
* {@grouptitle Path Smoothing}
|
||||
*
|
||||
* Smooth bezier curves without changing the amount of segments or their
|
||||
* points, by only smoothing and adjusting their handle points, for both
|
||||
* open ended and closed paths.
|
||||
|
|
Loading…
Reference in a new issue