public static GraphicsPath Create(Rectangle rect) { return(RoundedRectangle.Create(rect.X, rect.Y, rect.Width, rect.Height)); }
public static GraphicsPath Create(int x, int y, int width, int height, int radius) { return(RoundedRectangle.Create(x, y, width, height, radius, RoundedRectangle.RectangleCorners.All)); }
public static GraphicsPath Create(int x, int y, int width, int height) { return(RoundedRectangle.Create(x, y, width, height, 5)); }
public static GraphicsPath Create(Rectangle rect, int radius, RoundedRectangle.RectangleCorners c) { return(RoundedRectangle.Create(rect.X, rect.Y, rect.Width, rect.Height, radius, c)); }