Region(x, y, w, h) - what are w and h?
Asked by
sgfit
Per http://
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?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask sgfit for more information if necessary.
To post a message you must log in.