After executing the following code, the measured window X coordinate is -7, the measured window width is 1373, and the height is 553.
The reason for this result seems to be that there is a certain margin between the left border, right border, and bottom border of the window.
Can optional parameters be added to solve this problem?
The reason for this result seems to be that there is a certain margin between the left border, right border, and bottom border of the window.
Can optional parameters be added to solve this problem?