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

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

Draw(Rect, Attribute, Attribute, Rect, bool)

public void Draw(Rect bounds, Attribute normalColor, Attribute hotColor, Rect containerBounds = default, bool fillRemaining = true)

Parameters

bounds Rect

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

containerBounds Rect

Specifies the screen-relative location and maximum container size.

fillRemaining bool

Determines if the bounds width will be used (default) or only the text width will be used.