예제 #1
0
 /// <summary>
 /// Draws an ellipse
 /// </summary>
 /// <param name="x">The center X coordinate of the ellipse</param>
 /// <param name="y">The center Y coordinate of the ellipse</param>
 /// <param name="w">The width of the ellipse</param>
 /// <param name="h">The height of the ellipse</param>
 /// <param name="fillColor">Fill color of the ellipse</param>
 public static void ellipse(float x, float y, float w, float h, Color fillColor)
 {
     Shapes.Ellipse ellipse = new Shapes.Ellipse(x, y, w, h);
     ellipse.Draw(fillColor);
 }