Ejemplo n.º 1
0
 public void Draw()
 {
     Application.Push();
     if (StrokeColor.HasValue)
     {
         Application.Stroke(StrokeColor.Value);
     }
     Application.Fill(FillColor);
     Application.DrawCircle(Body);
     Application.Pop();
 }
Ejemplo n.º 2
0
 public void Draw()
 {
     Application.Push();
     if (StrokeColor.HasValue)
     {
         Application.Stroke(StrokeColor.Value);
     }
     Application.Fill(FillColor);
     Application.SetRectangleMode(RectangleMode.Center);
     Application.DrawRectangle(Body);
     Application.Pop();
 }