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

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

Draw(Rectangle, Attribute, Attribute, Rectangle, IConsoleDriver?)

public void Draw(Rectangle screen, Attribute normalColor, Attribute hotColor, Rectangle maximum = default, IConsoleDriver? driver = null)

Parameters

screen Rectangle

Specifies the screen-relative location and maximum size for drawing the text.

normalColor Attribute

The color to use for all text except the hotkey

hotColor Attribute

The color to use to draw the hotkey

maximum Rectangle

Specifies the screen-relative location and maximum container size.

driver IConsoleDriver

The console driver currently used by the application.

Exceptions

ArgumentOutOfRangeException