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

矩形的高度。

适用于