Skip to main content

GraphicsCache.DrawRoundedRectangle(Color, Int32, Rectangle, CornerRadius) Method

Draws a rectangle with rounded corners.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v23.2.dll

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

Declaration

public void DrawRoundedRectangle(
    Color color,
    int width,
    Rectangle rect,
    CornerRadius radius
)

Parameters

Name Type Description
color Color

The rectangle border color.

width Int32

The rectangle border width.

rect Rectangle

The rectangle to draw.

radius DevExpress.Utils.Drawing.CornerRadius

The radius of rectangle corners.

See Also