gajendravaradhan / sikuli-api

Automatically exported from code.google.com/p/sikuli-api
0 stars 0 forks source link

The method getX() and getY() is undefined for the type ScreenRegion #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. following the example which is showed on  
https://code.google.com/p/sikuli-api/wiki/BasicUsage

2. type the code into eclipse

3. eclipse shows that "The method getX() and getY() is undefined for the type 
ScreenRegion"

Original issue reported on code.google.com by darksavi...@gmail.com on 16 Nov 2012 at 8:33

GoogleCodeExporter commented 8 years ago
getX() and getY() have been removed from ScreenRegion.
Please use getBounds() instead.
The tutorial has been updated to:

System.out.println(r.getBounds());

Original comment by doubles...@gmail.com on 16 Nov 2012 at 10:30

GoogleCodeExporter commented 8 years ago

Original comment by doubles...@gmail.com on 16 Nov 2012 at 10:30