← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #678739]: IDE Offset Button

 

Question #678739 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678739

    Status: Open => Answered

RaiMan proposed the following answer:
Region.asOffset() is a not-documented-sorry-for-that;-) function, that
simply turns the Region into a Location(w, h), so it can be used as a
Region offset:

anOffset = Region(100,100,300,300).asOffset()
newRegion = someRegion.offset(anOffset)

I will remove the mystery by adding it to the docs ;-)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.