Region definition depends on the screen resolution --- no

Asked by andrea on 2012-12-19

Hi all,
I have a doubt on Sikuli behaviour:
Is the Region position in the screen depends on the screen dimension (resolution)?
I try to clarify more. If I select a region from my laptop where to search something, I can see that the region has a dimension (not affected by the screen resolution) but also a relative position from the side of the screen.
I was wondering if this relative position is affected by the screen resolution so if I change monitor I will search in a wrong position?

thanks
Andrea

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2012-12-19
Last query:
2012-12-19
Last reply:
2012-12-19
Best RaiMan (raimund-hocke) said : #1

position and dimension of a screen region (like java.awt.Rectangle) are in pixels.

So this is independent of the screen resolution, since this only means, that you SEE more or less pixels on your screen.

andrea (andrea-merli69) said : #2

Thanks RaiMan, that solved my question.