function Curve(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
		var count = arguments.length;
		if (count === 3) {
			// Undocumented internal constructor, used by Path#getCurves()
			// new Segment(path, segment1, segment2);
			this._path = arg0;
			this._segment1 = arg1;
			this._segment2 = arg2;
		} else if (count === 0) {
			this._segment1 = new Segment();
			this._segment2 = new Segment();
		} else if (count === 1) {
			// new Segment(segment);
			// Note: This copies from existing segments through bean getters
			this._segment1 = new Segment(arg0.segment1);
			this._segment2 = new Segment(arg0.segment2);
		} else if (count === 2) {
			// new Segment(segment1, segment2);
			this._segment1 = new Segment(arg0);
			this._segment2 = new Segment(arg1);
		} else {
			var point1, handle1, handle2, point2;
			if (count === 4) {
				point1 = arg0;
				handle1 = arg1;
				handle2 = arg2;
				point2 = arg3;
			} else if (count === 8) {
				// Convert getValue() array back to points and handles so we
				// can create segments for those.
				point1 = [arg0, arg1];
				point2 = [arg6, arg7];
				handle1 = [arg2 - arg0, arg3 - arg1];
				handle2 = [arg4 - arg6, arg5 - arg7];
			}
			this._segment1 = new Segment(point1, null, handle1);
			this._segment2 = new Segment(point2, handle2, null);
		}
	}
/**
	 * 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
	 */
Creates a new curve object.
Creates a new curve object .
function Curve(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
		var count = arguments.length;
		if (count === 3) {
			this._path = arg0;
			this._segment1 = arg1;
			this._segment2 = arg2;
		} else if (count === 0) {
			this._segment1 = new Segment();
			this._segment2 = new Segment();
		} else if (count === 1) {
			this._segment1 = new Segment(arg0.segment1);
			this._segment2 = new Segment(arg0.segment2);
		} else if (count === 2) {
			this._segment1 = new Segment(arg0);
			this._segment2 = new Segment(arg1);
		} else {
			var point1, handle1, handle2, point2;
			if (count === 4) {
				point1 = arg0;
				handle1 = arg1;
				handle2 = arg2;
				point2 = arg3;
			} else if (count === 8) {
				point1 = [arg0, arg1];
				point2 = [arg6, arg7];
				handle1 = [arg2 - arg0, arg3 - arg1];
				handle2 = [arg4 - arg6, arg5 - arg7];
			}
			this._segment1 = new Segment(point1, null, handle1);
			this._segment2 = new Segment(point2, handle2, null);
		}
	}
function Curve ( arg0 , arg1 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7 ) { var count = arguments . length ; if ( count === 3 ) { this . _path = arg0 ; this . _segment1 = arg1 ; this . _segment2 = arg2 ; } else if ( count === 0 ) { this . _segment1 = new Segment ( ) ; this . _segment2 = new Segment ( ) ; } else if ( count === 1 ) { this . _segment1 = new Segment ( arg0 . segment1 ) ; this . _segment2 = new Segment ( arg0 . segment2 ) ; } else if ( count === 2 ) { this . _segment1 = new Segment ( arg0 ) ; this . _segment2 = new Segment ( arg1 ) ; } else { var point1 , handle1 , handle2 , point2 ; if ( count === 4 ) { point1 = arg0 ; handle1 = arg1 ; handle2 = arg2 ; point2 = arg3 ; } else if ( count === 8 ) { point1 = [ arg0 , arg1 ] ; point2 = [ arg6 , arg7 ] ; handle1 = [ arg2 - arg0 , arg3 - arg1 ] ; handle2 = [ arg4 - arg6 , arg5 - arg7 ] ; } this . _segment1 = new Segment ( point1 , null , handle1 ) ; this . _segment2 = new Segment ( point2 , handle2 , null ) ; } }
Creates a new curve object.
Creates a new curve object .
// Undocumented internal constructor, used by Path#getCurves() // new Segment(path, segment1, segment2); // new Segment(segment); // Note: This copies from existing segments through bean getters // new Segment(segment1, segment2); // Convert getValue() array back to points and handles so we // can create segments for those.