Method MakeCenteredRect | Terminal.Gui v1 (original) (raw)

Namespace

Terminal.Gui

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

Rect

The centered rect.

Edit this page