Share via


ICanvas.FillRectangle(Single, Single, Single, Single) Method

Definition

Draws a filled rectangle onto the canvas.

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)

Parameters

x
Single

Starting x coordinate.

y
Single

Starting y coordinate.

width
Single

Width of the rectangle.

height
Single

Height of the rectangle.

Applies to