public override void Draw(DrawBatch drawBatch)
 {
     drawBatch.DrawLine(_thickBlue, new CCVector2(50, 50), new CCVector2(250, 50));
     drawBatch.DrawPath(_wavyPath);
     drawBatch.DrawRectangle(_thickMagenta, new CCRect(50, 160, 200, 100));
     drawBatch.DrawCircle(_thickBlack, new CCVector2(350, 100), 50);
     drawBatch.DrawCircle(_thickDarkGray, new CCVector2(350, 225), 50, 16);
     drawBatch.DrawRectangle(_thickGreen, new CCRect(50, 350, 200, 100), (float)Math.PI / 4f);
 }
        public override void Draw (DrawBatch drawBatch)
        {
            drawBatch.DrawLine(_gradWidth, new Vector2(25, 25), new Vector2(125, 125));
            drawBatch.DrawCircle(_gradWidth, new Vector2(200, 75), 50);
            drawBatch.DrawPath(_widthStar);

            drawBatch.DrawLine(_gradLength, new Vector2(25, 150), new Vector2(125, 250));
            drawBatch.DrawCircle(_gradLength, new Vector2(200, 200), 50);
            drawBatch.DrawPath(_lengthStar);
        }
        public override void Render(DrawBatch drawBatch, float zoomFactor)
        {
            if (IsDisposed)
                return;

            InitializeResources(drawBatch.GraphicsDevice);

            Vector2 center = new Vector2((int)(_data.Center.X * zoomFactor), (int)(_data.Center.Y * zoomFactor));
            float radius = _data.Radius * zoomFactor;

            if (FillGlow != null)
                drawBatch.FillCircle(FillGlow, center, radius + 2);
            if (Fill != null)
                drawBatch.FillCircle(Fill, center, radius);
            if (OutlineGlow != null)
                drawBatch.DrawCircle(OutlineGlow, center, radius);
            if (Outline != null) {
                if (Outline is PrimitivePen)
                    drawBatch.DrawPrimitiveCircle(Outline, center, radius);
                else
                    drawBatch.DrawCircle(Outline, center, radius);
            }
        }