Skip to main content
All docs
V25.1
  • 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.v25.1.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