Re: Question about getPointAtLength

getPathSegAtLength returns a number so it can't return null. It could
return 0 but that would be the same as if it found a segment or some
negative number to indicate an error or it could throw a range error.

Robert


On 18 June 2014 07:47, Gavin Kistner <phrogz@me.com> wrote:

> On Jun 17, 2014, at 10:20 AM, Robert Longson <longsonr@gmail.com> wrote:
>
> What should getPointAtLength return if there is no path i.e. if called on
> <path d=""/>?
>
>  What should getPathSegAtLength return in such circumstances?
>
> null for both, IMHO.
>
>

Received on Wednesday, 18 June 2014 08:17:51 UTC