Question #208254 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/208254
Status: Open => Answered
RaiMan proposed the following answer:
no import needed.
Region.getRect() returns a java.awt.Rectagle object, that knows how to
do it ;-)
... and Region(java.awt.Rectangle) gets you back aRegion object.
So the above works out of the box.
--
You received this question notification because you are a member of
Sikuli Drivers, which 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