mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
Improve Curve documentation.
This commit is contained in:
parent
e4203c2e36
commit
52e7c39567
1 changed files with 24 additions and 0 deletions
|
@ -28,9 +28,33 @@ var Curve = this.Curve = Base.extend(/** @lends Curve# */{
|
|||
/**
|
||||
* Creates a new curve object.
|
||||
*
|
||||
* @name Curve#initialize
|
||||
* @param {Segment} segment1
|
||||
* @param {Segment} segment2
|
||||
*/
|
||||
/**
|
||||
* Creates a new curve object.
|
||||
*
|
||||
* @name Curve#initialize
|
||||
* @param {Point} point1
|
||||
* @param {Point} handle1
|
||||
* @param {Point} handle2
|
||||
* @param {Point} point2
|
||||
*/
|
||||
/**
|
||||
* Creates a new curve object.
|
||||
*
|
||||
* @name Curve#initialize
|
||||
* @ignore
|
||||
* @param {Number} x1
|
||||
* @param {Number} y1
|
||||
* @param {Number} handle1x
|
||||
* @param {Number} handle1y
|
||||
* @param {Number} handle2x
|
||||
* @param {Number} handle2y
|
||||
* @param {Number} x2
|
||||
* @param {Number} y2
|
||||
*/
|
||||
initialize: function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
||||
var count = arguments.length;
|
||||
if (count == 0) {
|
||||
|
|
Loading…
Reference in a new issue