Exemple #1
0
 /// <summary>
 /// Draws the circle on the specified graphics context
 /// </summary>
 /// <param name="graphics"></param>
 public void Draw(IGraphicsService graphics)
 {
     if (graphics == null)
     {
         throw new ArgumentNullException("graphics");
     }
     graphics.FillEllipse(_brush, _mathService.GetCenterRect(CircleSize));
 }