Summary
Centers another rectangle in this rectangle.
Syntax
public Rect CenterRect(Rect rect)
Parameters
Name | Type | Description |
---|---|---|
rect | Rect | The rectangle to center. |
Return Value
Type | Description |
---|---|
Rect | The centered rectangle. |