Method MakeCenteredRect
MakeCenteredRect(Size)
Returns a rectangle that is centered in the screen for the provided size.
public static Rect MakeCenteredRect(Size size)
Parameters
size
SizeSize for the rectangle.
Returns
- Rect
The centered rect.