← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #230247]: [Java] Region depricated: how do i create a Region?

 

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

    Status: Open => Answered

Roman Podolyan proposed the following answer:
I think you may find the info you look for in Sukili Region source code. 
It's open and available on GitHub. 
https://github.com/sikuli/sikuli/blob/develop/sikuli-script/src/main/java/org/sikuli/script/Region.java
 
I'm not good at Java, but public static Region create(int x_, int y_, int w_, int h_) looks like what you need. The comments states the same: 

 @deprecated Not for public use in Java. =Use Region.create() instead.=

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.