sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #01918
Re: [Question #150836]: Getting a sub region from a region.
Question #150836 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/150836
Status: Answered => Solved
Shienarier confirmed that the question is solved:
Thank you.
I ended up writing this:
def get_subregion(reg, insidex, insidey, insidewidth, insideheight):
return Region(reg.x+insidex, reg.y+insidey, insidewidth, insideheight)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.