Skip to main content
All docs
V25.1
  • GraphicsCache.CreateRoundedRectangle(Rectangle, CornerRadius) Method

    Creates a rectangular path with rounded corners.

    Namespace: DevExpress.Utils.Drawing

    Assembly: DevExpress.Utils.v25.1.dll

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

    Declaration

    public GraphicsPath CreateRoundedRectangle(
        Rectangle rect,
        CornerRadius radius
    )

    Parameters

    Name Type Description
    rect Rectangle

    The rectangle that specifies the path.

    radius DevExpress.Utils.Drawing.CornerRadius

    The corner radius for the rectangle.

    Returns

    Type Description
    GraphicsPath

    The resulting GraphicsPath object.

    See Also