Skip to main content

GraphicsCache.FillRectangle(Brush, Rectangle) Method

Fills the interior of a rectangle specified by a Rectangle structure.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v24.2.dll

Declaration

public void FillRectangle(
    Brush brush,
    Rectangle rect
)

Parameters

Name Type Description
brush Brush

A Brush object which represents the brush used to fill the rectangle.

rect Rectangle

A Rectangle value which represents the rectangle to fill.

The following code snippets (auto-collected from DevExpress Examples) contain references to the FillRectangle(Brush, Rectangle) 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