Package org.sikuli.script
Class Offset
- java.lang.Object
-
- org.sikuli.script.Offset
-
public class Offset extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Offset
getDefaultInstance4py()
int
getX()
int
getY()
static Offset
make4py(java.util.ArrayList args)
<RMILO> Offset
modify(RMILO whatever)
Offset
set(double x, double y)
sets the given valuesOffset
set(int x, int y)
sets to the given valuesOffset
setX(double x)
sets x to the given valueOffset
setX(int x)
sets x to the given valueOffset
setY(double y)
sets y to the given valueOffset
setY(int y)
sets y to the given value
-
-
-
Method Detail
-
getDefaultInstance4py
public static Offset getDefaultInstance4py()
-
make4py
public static Offset make4py(java.util.ArrayList args)
-
setX
public Offset setX(int x)
sets x to the given value- Parameters:
x
- new x- Returns:
- this
-
setX
public Offset setX(double x)
sets x to the given value- Parameters:
x
- new x- Returns:
- this
-
getX
public int getX()
- Returns:
- x value
-
setY
public Offset setY(int y)
sets y to the given value- Parameters:
y
- new y- Returns:
- this
-
setY
public Offset setY(double y)
sets y to the given value- Parameters:
y
- new y- Returns:
- this
-
getY
public int getY()
- Returns:
- y value
-
set
public Offset set(int x, int y)
sets to the given values- Parameters:
x
- new x might be non-inty
- new y might be non-int- Returns:
- this
-
set
public Offset set(double x, double y)
sets the given values- Parameters:
x
- new x doubley
- new y double- Returns:
- this
-
modify
public <RMILO> Offset modify(RMILO whatever)
-
-