[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.Region.CreateRoundedRectangleRegion

CreateRoundedRectangleRegion Method

CreateRoundedRectangleRegion(Rectangle, int, int)

Creates a rectangular Region with rounded corners.

Declaration
public static Region CreateRoundedRectangleRegion(Rectangle rectangle, int ellipseWidth, int ellipseHeight)
Parameters
Type Name Description
Rectangle rectangle

A Rectangle structure that defines the interior of the new Region object.

int ellipseWidth

Specifies the width of the ellipse used to create the rounded corners in logical units.

int ellipseHeight

Specifies the height of the ellipse used to create the rounded corners in logical units.

Returns
Type Description
Region

A Region indicates the region with rounded corners.