Question #678739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678739
Status: Open => Answered
masuo proposed the following answer:
Try this codes.
r1 = Region(100,100,300,300)
r1.highlight(2)
r2 = Region(100,100,300,300).asOffset(100,100)
r2.highlight(2)
You can use "Offset" button when you want to create a region with offset.
This document will help you.
https://sikulix-2014.readthedocs.io/en/latest/region.html?highlight=Offset
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp