Skip to main content
All docs
V24.1

DXGraphics.FillRectangle(DXBrush, Single, Single, Single, Single) Method

Fills the interior of a rectangle located in the specified area.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.1.dll

NuGet Package: DevExpress.Drawing

Declaration

public void FillRectangle(
    DXBrush brush,
    float x,
    float y,
    float width,
    float height
)

Parameters

Name Type Description
brush DXBrush

The brush used to fill the rectangle.

x Single

The x-coordinate of the upper-left corner of the rectangle to fill.

y Single

The y-coordinate of the upper-left corner of the rectangle to fill.

width Single

Width of the rectangle to fill.

height Single

Height of the rectangle to fill.

See Also