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
Syntax public static Screen FromRectangle(
RectangleF rectangle
)
Public Shared Function FromRectangle (
rectangle As RectangleF
) As Screen
static member FromRectangle :
rectangle : RectangleF -> Screen
Parameters
- rectangle
- Type: Eto.DrawingRectangleF
Rectangle to find the screen.
Return Value
Type:
ScreenThe screen encompassing or closest to the specified rectangle.
See Also