ellipse.normalizedDistance(p)
Returns a normalized distance from the ellipse center to a point p. Returns a number n ( n < 1 for points inside the ellipse, n = 1 for points laying at the ellipse boundary and n > 1 for points outside the ellipse).