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