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