implemented ToolEllipse