Exemplo n.º 1
0
 public static GraphicsPath Create(Rectangle rect)
 {
     return(RoundedRectangle.Create(rect.X, rect.Y, rect.Width, rect.Height));
 }
Exemplo n.º 2
0
 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));
 }
Exemplo n.º 3
0
 public static GraphicsPath Create(int x, int y, int width, int height)
 {
     return(RoundedRectangle.Create(x, y, width, height, 5));
 }
Exemplo n.º 4
0
 public static GraphicsPath Create(Rectangle rect, int radius, RoundedRectangle.RectangleCorners c)
 {
     return(RoundedRectangle.Create(rect.X, rect.Y, rect.Width, rect.Height, radius, c));
 }