/// <summary>
 /// Adds a rectangle with round corners to the current GraphicsPath.
 /// </summary>
 /// <param name="gp">The current GraphicsPath object.</param>
 /// <param name="rectangle">The rectangle which defines the area to be added.</param>
 /// <param name="radius">The radius of the different corners starting with the upper left corner.</param>
 /// <returns>The current GraphicsPath object.</returns>
 public static GraphicsPath AddRoundRectangle(this GraphicsPath gp, RectangleF rectangle, params float[] radius)
 {
     return gp.AddRoundRectangle(rectangle.Location, rectangle.Size, radius);
 }
 /// <summary>
 /// Adds a rectangle with round corners to the current GraphicsPath.
 /// </summary>
 /// <param name="gp">The current GraphicsPath object.</param>
 /// <param name="rectangle">The rectangle which defines the area to be added.</param>
 /// <param name="radius">The radius of the different corners starting with the upper left corner.</param>
 /// <returns>The current GraphicsPath object.</returns>
 public static GraphicsPath AddRoundRectangle(this GraphicsPath gp, Rectangle rectangle, params float[] radius)
 {
     return gp.AddRoundRectangle((RectangleF)rectangle, radius);
 }