예제 #1
0
 public static GraphicsPath Create(Rectangle rect)
 {
     return(RoundedRectangle.Create(rect.X, rect.Y, rect.Width, rect.Height));
 }
예제 #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));
 }
예제 #3
0
 public static GraphicsPath Create(int x, int y, int width, int height)
 {
     return(RoundedRectangle.Create(x, y, width, height, 5));
 }
예제 #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));
 }