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