Ejemplo n.º 1
0
 /// <summary>
 /// 填充圆角矩形
 /// </summary>
 /// <param name="g"></param>
 /// <param name="brush"></param>
 /// <param name="rectangle"></param>
 /// <param name="radius"></param>
 public static void fillRoundedRectangle(
     this Graphics g,
     Brush brush,
     RectangleF rectangle,
     int radius)
 {
     GraphicsUtil.fillRoundedRectangle(g, brush, rectangle, radius);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 填充圆角矩形
 /// </summary>
 /// <param name="g"></param>
 /// <param name="brush"></param>
 /// <param name="rectangle"></param>
 /// <param name="radius"></param>
 /// <param name="filter"></param>
 public static void fillRoundedRectangle(
     this Graphics g,
     Brush brush,
     Rectangle rectangle,
     int radius,
     RectangleCorner filter)
 {
     GraphicsUtil.fillRoundedRectangle(g, brush, rectangle, radius, filter);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// 填充圆角矩形
 /// </summary>
 /// <param name="g"></param>
 /// <param name="brush"></param>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <param name="width"></param>
 /// <param name="height"></param>
 /// <param name="radius"></param>
 public static void fillRoundedRectangle(
     this Graphics g,
     Brush brush,
     int x,
     int y,
     int width,
     int height,
     int radius)
 {
     GraphicsUtil.fillRoundedRectangle(g, brush, x, y, width, height, radius);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// 填充圆角矩形
 /// </summary>
 /// <param name="g"></param>
 /// <param name="brush"></param>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <param name="width"></param>
 /// <param name="height"></param>
 /// <param name="radius"></param>
 /// <param name="filter"></param>
 public static void fillRoundedRectangle(
     this Graphics g,
     Brush brush,
     float x,
     float y,
     float width,
     float height,
     float radius,
     RectangleCorner filter)
 {
     GraphicsUtil.fillRoundedRectangle(g, brush, x, y, width, height, radius);
 }