ICanvas.DrawRoundedRectangle(Single, Single, Single, Single, Single) 方法

定义

将带圆角的矩形绘制到画布上。

public:
 void DrawRoundedRectangle(float x, float y, float width, float height, float cornerRadius);
public void DrawRoundedRectangle (float x, float y, float width, float height, float cornerRadius);
abstract member DrawRoundedRectangle : single * single * single * single * single -> unit
Public Sub DrawRoundedRectangle (x As Single, y As Single, width As Single, height As Single, cornerRadius As Single)

参数

x
Single

起始 x 坐标。

y
Single

起始 y 坐标。

width
Single

矩形的宽度。

height
Single

矩形的高度。

cornerRadius
Single

用于圆角矩形的半径。

适用于