Table of Contents

Method Draw

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Draw(Rectangle, ViewDiagnosticFlags, string?)

Draws the Thickness rectangle with an optional diagnostics label.

public Rectangle Draw(Rectangle rect, ViewDiagnosticFlags diagnosticFlags = ViewDiagnosticFlags.Off, string? label = null)

Parameters

rect Rectangle

The location and size of the rectangle that bounds the thickness rectangle, in screen coordinates.

diagnosticFlags ViewDiagnosticFlags
label string

The diagnostics label to draw on the bottom of the Bottom.

Returns

Rectangle

The inner rectangle remaining to be drawn.

Remarks

If ViewDiagnosticFlags is set to Thickness then 'T', 'L', 'R', and 'B' glyphs will be used instead of space. If ViewDiagnosticFlags is set to Ruler then a ruler will be drawn on the outer edge of the Thickness.