共用方式為


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

定義

在畫布上繪製具有圓角的填滿矩形。

public:
 void FillRoundedRectangle(float x, float y, float width, float height, float cornerRadius);
public void FillRoundedRectangle (float x, float y, float width, float height, float cornerRadius);
abstract member FillRoundedRectangle : single * single * single * single * single -> unit
Public Sub FillRoundedRectangle (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

用來圓角矩形的半徑。

適用於