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

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

ScreenToFrame(in Point)

Converts a screen-relative coordinate to a Frame-relative coordinate. Frame-relative means relative to the View's SuperView's Viewport.

public virtual Point ScreenToFrame(in Point location)

Parameters

location Point

Screen-relative coordinate.

Returns

Point

The coordinate relative to the SuperView's Viewport.

Edit this page