Package org.sikuli.script.support
Interface IScreen
-
- All Known Implementing Classes:
ADBScreen,Screen,ScreenUnion,VNCScreen
public interface IScreenINTERNAL USE function template for (alternative) Screen implementations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScreenImagecapture()ScreenImagecapture(int x, int y, int w, int h)ScreenImagecapture(Rectangle rect)ScreenImagecapture(Region reg)RectanglegetBounds()intgetH()intgetID()intgetIdFromPoint(int srcx, int srcy)StringgetIDString()StringgetLastScreenImageFile(String path, String name)ScreenImagegetLastScreenImageFromScreen()RectanglegetRect()IRobotgetRobot()intgetW()intgetX()intgetY()booleanisOtherScreen()LocationnewLocation(int x, int y)LocationnewLocation(Location loc)RegionnewRegion(int x, int y, int w, int h)RegionnewRegion(Location loc, int w, int h)RegionnewRegion(Region reg)LocationsetOther(Location element)RegionsetOther(Region element)ScreenImageuserCapture(String string)
-
-
-
Method Detail
-
getID
int getID()
-
getIdFromPoint
int getIdFromPoint(int srcx, int srcy)
-
getIDString
String getIDString()
-
getRobot
IRobot getRobot()
-
capture
ScreenImage capture()
-
capture
ScreenImage capture(int x, int y, int w, int h)
-
capture
ScreenImage capture(Rectangle rect)
-
capture
ScreenImage capture(Region reg)
-
userCapture
ScreenImage userCapture(String string)
-
getLastScreenImageFromScreen
ScreenImage getLastScreenImageFromScreen()
-
getLastScreenImageFile
String getLastScreenImageFile(String path, String name) throws IOException
- Throws:
IOException
-
getX
int getX()
-
getW
int getW()
-
getY
int getY()
-
getH
int getH()
-
getBounds
Rectangle getBounds()
-
getRect
Rectangle getRect()
-
isOtherScreen
boolean isOtherScreen()
-
newLocation
Location newLocation(int x, int y)
-
newRegion
Region newRegion(int x, int y, int w, int h)
-
-