Method FillRect | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

FillRect(Rectangle, Color?)

Fills the specified Viewport-relative rectangle with the specified color.

public void FillRect(Rectangle rect, Color? color = null)

Parameters

rect Rectangle

The Viewport-relative rectangle to clear.

color Color?

The color to use to fill the rectangle. If not provided, the Normal background color will be used.

FillRect(Rectangle, Rune)

Fills the specified Viewport-relative rectangle.

public void FillRect(Rectangle rect, Rune rune)

Parameters

rect Rectangle

The Viewport-relative rectangle to clear.

rune Rune

The Rune to fill with.