private Ellipse AddEllipseToCanvas(Color color, double radiusX, double radiusY, string toolTip, SphereInfo tag)
        {
            Ellipse ellipse = new Ellipse();
            ellipse.StrokeThickness = 0.5;
            ellipse.Stroke = Brushes.Black;
            ellipse.ToolTip = toolTip;
            ellipse.Tag = tag;
            if (color == Colors.Red)
                ellipse.Fill = GetRedBrush();
            else if (color == Colors.Blue)
                ellipse.Fill = GetBlueBrush();
            else
                ellipse.Fill = GetDefaultBrush();
            ellipse.Width = radiusX * 2;
            ellipse.Height = radiusY * 2;
            ellipse.Cursor = Cursors.Hand;
            ellipse.MouseDown += new MouseButtonEventHandler(ellipse_MouseDown);
            Canvas.SetZIndex(ellipse, 99);

            AddVisualToCanvas(ellipse);

            return ellipse;
        }
        private Ellipse AddEllipseToCanvas(Color color, double radiusX, double radiusY, string toolTip, SphereInfo tag)
        {
            Ellipse ellipse = new Ellipse();

            ellipse.StrokeThickness = 0.5;
            ellipse.Stroke          = Brushes.Black;
            ellipse.ToolTip         = toolTip;
            ellipse.Tag             = tag;
            if (color == Colors.Red)
            {
                ellipse.Fill = GetRedBrush();
            }
            else if (color == Colors.Blue)
            {
                ellipse.Fill = GetBlueBrush();
            }
            else
            {
                ellipse.Fill = GetDefaultBrush();
            }
            ellipse.Width      = radiusX * 2;
            ellipse.Height     = radiusY * 2;
            ellipse.Cursor     = Cursors.Hand;
            ellipse.MouseDown += new MouseButtonEventHandler(ellipse_MouseDown);
            Canvas.SetZIndex(ellipse, 99);

            AddVisualToCanvas(ellipse);

            return(ellipse);
        }