ActivityDesignerPaint.DrawRoundedRectangle 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在活动设计器图面上绘制一个圆角矩形。
public:
static void DrawRoundedRectangle(System::Drawing::Graphics ^ graphics, System::Drawing::Pen ^ drawingPen, System::Drawing::Rectangle rectangle, int radius);
public static void DrawRoundedRectangle(System.Drawing.Graphics graphics, System.Drawing.Pen drawingPen, System.Drawing.Rectangle rectangle, int radius);
static member DrawRoundedRectangle : System.Drawing.Graphics * System.Drawing.Pen * System.Drawing.Rectangle * int -> unit
Public Shared Sub DrawRoundedRectangle (graphics As Graphics, drawingPen As Pen, rectangle As Rectangle, radius As Integer)
参数
- radius
- Int32
要用于舍入边缘的半径的整数值。
例外
graphics 或 drawingPen 包含 null 引用(Visual Basic 中的 Nothing)。
注解
DrawRoundedRectangle GetRoundedRectanglePath使用该方法获取要绘制的路径。