sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37957
[Question #293503]: Region(x, y, w, h) - what are w and h?
New question #293503 on Sikuli:
https://answers.launchpad.net/sikuli/+question/293503
Per http://doc.sikuli.org/region.html, a Region is created with Region(x, y, w, h). However, the documentation then says:
Parameters:
x – x position of a rectangle.
y – y position of a rectangle.
w – height of a rectangle.
h – width of a rectangle.
Obviously, it is very unusual to have "w" represent height and "h" represent width.
This leaves two possibilities, which could not be clearly determined by testing:
1) The signature definition is wrong: the definition should be Region(x, y, height, width).
2) The parameter description is wrong: w is the width and h is the height.
What is the correct signature?
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.