Method Create
| Edit this page View SourceCreate(Rect)
Creates a rectangular region.
Declaration
public static Region Create(Rect rect)
Parameters
Type | Name | Description |
---|---|---|
Rect | rect | Rectangular region. |
Returns
Type | Description |
---|---|
Region |
Create(Rect, double, double)
Creates a rectangular region with rounded corners.
Declaration
public static Region Create(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 |