共用方式為


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

定義

將填滿的矩形繪製到畫布上。

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

參數

x
Single

開始 x 座標。

y
Single

開始 y 座標。

width
Single

矩形的寬度。

height
Single

矩形的高度。

適用於