Skip to main content
All docs
V24.1

DXGraphics.FillRectangle(DXBrush, RectangleF) 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,
    RectangleF bounds
)

Parameters

Name Type Description
brush DXBrush

The brush used to fill the rectangle.

bounds RectangleF

An area where you can draw a rectangle.

The following code snippets (auto-collected from DevExpress Examples) contain references to the FillRectangle(DXBrush, RectangleF) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also