Finished refactoring ellipse and circle in canvasLib.