Package com.intuit.karate.robot
Class Region
- java.lang.Object
-
- com.intuit.karate.robot.Region
-
public class Region extends Object
- Author:
- pthomas3
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BufferedImagecapture()BufferedImagecaptureGreyScale()Regionclick()Regionclick(int num)voiddebugCapture()StringdebugExtract()StringdebugExtract(String lang)Stringextract(String lang, boolean debug)LocationgetCenter()Map<String,Object>getPosition()voidhighlight()voidhighlight(int millis)Locationinset(int deltaX, int deltaY)Regionmove()Regionpress()Regionrelease()byte[]screenshot()StringtoString()
-
-
-
Field Detail
-
robot
public final RobotBase robot
-
x
public final int x
-
y
public final int y
-
width
public final int width
-
height
public final int height
-
-
Method Detail
-
capture
public BufferedImage capture()
-
captureGreyScale
public BufferedImage captureGreyScale()
-
getCenter
public Location getCenter()
-
inset
public Location inset(int deltaX, int deltaY)
-
highlight
public void highlight()
-
highlight
public void highlight(int millis)
-
click
public Region click()
-
click
public Region click(int num)
-
move
public Region move()
-
press
public Region press()
-
release
public Region release()
-
screenshot
public byte[] screenshot()
-
debugCapture
public void debugCapture()
-
debugExtract
public String debugExtract()
-
-