sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #13095
Re: [Question #208254]: intersection of regions --- use java.awt.Rectangle
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.