sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #53125
Re: [Question #685869]: how to identify a picture inside a region
Question #685869 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685869
Status: Open => Answered
RaiMan proposed the following answer:
tbuttsorted is a list of Match objects, which in turn are a subclass of
Region.
so you can ask:
someRegion.contains(someMatch)
which returns True if the Match-Rectangle completely lies inside the
Region rectangle.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.