sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #13093
Re: [Question #208254]: intersection of regions
Question #208254 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/208254
Status: Open => Answered
RaiMan proposed the following answer:
not a Region feature yet ....
... but we have access to java.awt.rect
r1 = some_Region1
r2 = some_Region2
intersect = Region(r1.getRect().createIntersection(r2.getRect()))
for the available features see:
http://docs.oracle.com/javase/6/docs/api/java/awt/Rectangle.html
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.