Method CreateRoundedRectangle
| Edit this page View SourceCreateRoundedRectangle(Rect, double, double)
Creates a rectangular region with rounded corners.
Declaration
public static Region CreateRoundedRectangle(Rect rect, double w, double h)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | rect | Rectangular region. |
| double | w | Specifies the width of the ellipse used to create the rounded corners. |
| double | h | Specifies the height of the ellipse used to create the rounded corners. |
Returns
| Type | Description |
|---|---|
| Region |