Method MakeCenteredRect | Terminal.Gui v1 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
MakeCenteredRect(Size)
Returns a rectangle that is centered in the screen for the provided size.
public static Rect MakeCenteredRect(Size size)
Parameters
size
Size
Size for the rectangle.
Returns
The centered rect.