Skip to main content

GraphicsCache.FillRoundedRectangle(Color, Rectangle, CornerRadius) Method

Draws a rectangle with rounded corners and fills it with the specified color.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v23.2.dll

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

Declaration

public void FillRoundedRectangle(
    Color color,
    Rectangle rect,
    CornerRadius radius
)

Parameters

Name Type Description
color Color

The rectangle color.

rect Rectangle

The rectangle to draw.

radius DevExpress.Utils.Drawing.CornerRadius

The radius of rectangle corners.

See Also