Table of Contents

Constructor DrawEventArgs

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

DrawEventArgs(Rectangle, Rectangle, DrawContext?)

Creates a new instance of the DrawEventArgs class.

public DrawEventArgs(Rectangle newViewport, Rectangle oldViewport, DrawContext? drawContext)

Parameters

newViewport Rectangle

The Content-relative rectangle describing the new visible viewport into the View.

oldViewport Rectangle

The Content-relative rectangle describing the old visible viewport into the View.

drawContext DrawContext

Add any regions that have been drawn to during Draw(DrawContext?) operations to this context. This is primarily in support of Transparent.