UIBezierPath category that returns a polygon that fits inside an ellipse inscribed in a given rect
MIT License
UIBezierPath category that returns a polygon that fits inside an ellipse inscribed in a given rect.
To do: add an option to fit the polygon to the rect instead of to the inscribed ellipse. Use bounds and transform to scale the polygon to fit the frame.