Overview | Methods | Fields | This Package | All Packages
Returns a Screen object for the monitor that contains the largest portion of a specified rectangle.
Syntax
public static Screen fromRectangle( Rectangle rect )
Parameters
rect
A Rectangle object that specifies the area for which to retrieve the monitor.
Return Value
Returns a Screen object for the monitor that contains the largest region of the specified rectangle. If no monitor contains the rectangle, then the monitor closest to the rectangle is returned.
See Also fromControl, fromHwnd, fromPoint