The window whose frame size to query.
Where to store the size, in screen coordinates, of the left edge of the window frame, or null
.
Where to store the size, in screen coordinates, of the top edge of the window frame, or null
.
Where to store the size, in screen coordinates, of the right edge of the window frame, or null
.
Where to store the size, in screen coordinates, of the bottom edge of the window frame, or null
.
Generated using TypeDoc
This function retrieves the size, in screen coordinates, of each edge of the frame of the specified window. This size includes the title bar, if the window has one. The size of the frame may vary depending on the window-related hints used to create it.
Because this function retrieves the size of each window frame edge and not the offset along a particular coordinate axis, the retrieved values will always be zero or positive.
Any or all of the size arguments may be
null
. If an error occurs, all non-null
size arguments will be set to zero.