Method VirtualScreen():getRect() Foundation

Get the rectangle encompassing the virtual screen.

:getRect() --> aRect

An array with the left, top, right and bottom coordinates of the screen rectangle in pixel.


The method :getRect() can be used to determine the rectangle encompassing all the physical screens currently connected to the computer. The rectangle is specified in pixels since it may span multiple physical screens with different scale factors (DPI settings).


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.