Method SetClipToScreen | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
SetClipToScreen()
Sets the Clip to be the rectangle of the screen.
public static Region? SetClipToScreen()
Returns
The current Clip, which can be then re-applied SetClip(Region?)
Remarks
There is a single clip region for the entire application. This method sets the clip region to the screen.
This method returns the current clip region, not a clone. If there is a need to modify the clip region, it is recommended to clone it first.