[]
Creates a rectangular Region with rounded corners.
public static Region CreateRoundedRectangleRegion(Rectangle rectangle, int ellipseWidth, int ellipseHeight)
Public Shared Function CreateRoundedRectangleRegion(rectangle As Rectangle, ellipseWidth As Integer, ellipseHeight As Integer) As Region
| 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. |
| Type | Description |
|---|---|
| Region | A Region indicates the region with rounded corners. |