Skip to main content

GraphicsCache.FillRectangle(Brush, Single, Single, Single, Single) 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.v24.1.dll

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

Declaration

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

Parameters

Name Type Description
brush Brush

Brush that determines the characteristics of the fill.

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