/// <summary> /// 绘制圆角矩形 /// </summary> /// <param name="g"></param> /// <param name="pen"></param> /// <param name="rectangle"></param> /// <param name="radius"></param> public static void drawRoundedRectangle( this Graphics g, Pen pen, RectangleF rectangle, int radius) { GraphicsUtil.drawRoundedRectangle(g, pen, rectangle, radius); }
/// <summary> /// 绘制圆角矩形 /// </summary> /// <param name="g"></param> /// <param name="pen"></param> /// <param name="rectangle"></param> /// <param name="radius"></param> /// <param name="filter"></param> public static void drawRoundedRectangle( this Graphics g, Pen pen, Rectangle rectangle, int radius, RectangleCorner filter) { GraphicsUtil.drawRoundedRectangle(g, pen, rectangle, radius, filter); }
/// <summary> /// 绘制圆角矩形 /// </summary> /// <param name="g"></param> /// <param name="pen"></param> /// <param name="x"></param> /// <param name="y"></param> /// <param name="width"></param> /// <param name="height"></param> /// <param name="radius"></param> public static void drawRoundedRectangle( this Graphics g, Pen pen, int x, int y, int width, int height, int radius) { GraphicsUtil.drawRoundedRectangle(g, pen, x, y, width, height, radius); }
/// <summary> /// 绘制圆角矩形 /// </summary> /// <param name="g"></param> /// <param name="pen"></param> /// <param name="x"></param> /// <param name="y"></param> /// <param name="width"></param> /// <param name="height"></param> /// <param name="radius"></param> public static void drawRoundedRectangle( this Graphics g, Pen pen, float x, float y, float width, float height, float radius) { GraphicsUtil.drawRoundedRectangle(g, pen, x, y, width, height, radius); }