mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 06:00:56 -05:00
Fix return type of #getCurvatureAt() methods.
Closes #535 properly this time.
This commit is contained in:
parent
b71e2c69d6
commit
e5714584ff
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue