Fix return type of #getCurvatureAt() methods.

Closes #535 properly this time.
This commit is contained in:
Jürg Lehni 2014-10-15 12:02:21 +02:00
parent b71e2c69d6
commit e5714584ff
2 changed files with 2 additions and 2 deletions

View file

@ -946,7 +946,7 @@ statics: {
* parameter if {@code isParameter} is {@code true}
* @param {Boolean} [isParameter=false] pass {@code true} if {@code offset}
* is a curve time parameter.
* @return {Point} the curvature of the curve at the specified offset.
* @return {Number} the curvature of the curve at the specified offset.
*/
}),
new function() { // Scope for methods that require numerical integration

View file

@ -1900,7 +1900,7 @@ var Path = PathItem.extend(/** @lends Path# */{
* @param {Number} offset the offset on the path, where {@code 0} is at
* the beginning of the path and {@link Path#length} at the end.
* @param {Boolean} [isParameter=false]
* @return {Point} the normal vector at the given offset
* @return {Number} the normal vector at the given offset
*
/**