The display module contaions support for getting screen information.
Return True if rect is entirely on the specified screen, with no overlap.
Return True if point is on the specified screen.
point must be an iterable type with two elements: (x, y)
Return true if point is on any currently configured screen.
Move the mouse to the center of the specified screen.
The base class/inteface for the display devices.
Get an instance of the Display class.
For more infomration on picking specific backends, see Advanced Backend Picking
Parameters: | preferred_backend – A string containing a hint as to which backend you would like. possible backends are:
|
---|---|
Raises: | RuntimeError if autopilot cannot instantate any of the possible backends. |
Raises: | RuntimeError if the preferred_backend is specified and is not one of the possible backends for this device class. |
Raises: | BackendException if the preferred_backend is set, but that backend could not be instantiated. |
Returns: | Instance of Display with appropriate backend. |