Method ScreenToContent | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
ScreenToContent(in Point)
Converts a Screen-relative coordinate to a Content-relative coordinate.
public Point ScreenToContent(in Point location)
Parameters
location
Point
The Screen-relative location.
Returns
The coordinate relative to this view's Content.
Remarks
Content-relative means relative to the top-left corner of the view's Content, which is always at 0, 0
.