'Declaration
Public Shared Function CreateRoundedRectangleRegion( _ ByVal rectangle As Rectangle, _ ByVal ellipseWidth As Integer, _ ByVal ellipseHeight As Integer _ ) As Region
public static Region CreateRoundedRectangleRegion( Rectangle rectangle, int ellipseWidth, int ellipseHeight )
Parameters
- rectangle
- A System.Drawing.Rectangle structure that defines the interior of the new Region object.
- ellipseWidth
- Specifies the width of the ellipse used to create the rounded corners in logical units.
- ellipseHeight
- Specifies the height of the ellipse used to create the rounded corners in logical units.
Return Value
A Region indicates the region with rounded corners.