Skip to main content

GraphicsCache.FillRectangle(Brush, Int32, Int32, Int32, Int32) Method

Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v23.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public void FillRectangle(
    Brush brush,
    int x,
    int y,
    int width,
    int height
)

Parameters

Name Type Description
brush Brush

Brush that determines the characteristics of the fill.

x Int32

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

y Int32

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

width Int32

Width of the rectangle to fill.

height Int32

Height of the rectangle to fill.

See Also