setFromPoints( points ) {

		this.moveTo( points[ 0 ].x, points[ 0 ].y );

		for ( let i = 1, l = points.length; i < l; i ++ ) {

			this.lineTo( points[ i ].x, points[ i ].y );

		}

		return this;

	}
Creates a path from the given list of points. The points are added
to the path as instances of {@link LineCurve}.

@param {Array<Vector2>} points - An array of 2D points.
@return {Path} A reference to this path.