Skip to main content

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

Draws a rectangle with rounded corners.

Namespace: DevExpress.Utils.Drawing

Assembly: DevExpress.Utils.v24.2.dll

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