Rename Curve#getParameter(length) -> Curve#getParameterAt(offset)

This commit is contained in:
Jürg Lehni 2011-07-06 23:13:38 +02:00
parent 778a161ba0
commit b13c7622c8
5 changed files with 26 additions and 27 deletions
src/path

View file

@ -960,7 +960,7 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{
if (length >= offset) {
// Found the segment within which the length lies
return new CurveLocation(curve,
curve.getParameter(offset - start));
curve.getParameterAt(offset - start));
}
}
// It may be that through impreciseness of getLength, that the end