Method ViewportToScreen | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
ViewportToScreen(in Rectangle)
Converts a Viewport-relative location and size to a screen-relative location and size.
public Rectangle ViewportToScreen(in Rectangle viewport)
Parameters
viewport
Rectangle
Viewport-relative location and size.
Returns
Screen-relative location and size.
ViewportToScreen(in Point)
Converts a Viewport-relative location to a screen-relative location.
public Point ViewportToScreen(in Point viewportLocation)
Parameters
viewportLocation
Point
Viewport-relative location.
Returns
Screen-relative location.
ViewportToScreen()
Gets the Viewport rectangle with a screen-relative location.
public Rectangle ViewportToScreen()
Returns
Screen-relative location and size.