Region definition depends on the screen resolution --- no

Asked by andrea

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:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
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.

Revision history for this message
andrea (andrea-merli69) said :
#2

Thanks RaiMan, that solved my question.