Click or drag to resize

ScreenFromRectangle Method

Gets the screen that encompases the biggest part of the specified rectangle, or the closest screen to the rectangle if it is outside the bounds of all screens..

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
public static Screen FromRectangle(
	RectangleF rectangle


Type: Eto.DrawingRectangleF
Rectangle to find the screen.

Return Value

Type: Screen
The screen encompassing or closest to the specified rectangle.
See Also