Package org.sikuli.script
Class Offset
java.lang.Object
org.sikuli.script.Offset
public class Offset extends Object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description static OffsetgetDefaultInstance4py()intgetX()intgetY()static Offsetmake4py(ArrayList args)<RMILO> Offsetmodify(RMILO whatever)Offsetset(double x, double y)sets the given valuesOffsetset(int x, int y)sets to the given valuesOffsetsetX(double x)sets x to the given valueOffsetsetX(int x)sets x to the given valueOffsetsetY(double y)sets y to the given valueOffsetsetY(int y)sets y to the given value
-
Field Details
-
Constructor Details
-
Method Details
-
getDefaultInstance4py
-
make4py
-
setX
sets x to the given value- Parameters:
x- new x- Returns:
- this
-
setX
sets x to the given value- Parameters:
x- new x- Returns:
- this
-
getX
public int getX()- Returns:
- x value
-
setY
sets y to the given value- Parameters:
y- new y- Returns:
- this
-
setY
sets y to the given value- Parameters:
y- new y- Returns:
- this
-
getY
public int getY()- Returns:
- y value
-
set
sets to the given values- Parameters:
x- new x might be non-inty- new y might be non-int- Returns:
- this
-
set
sets the given values- Parameters:
x- new x doubley- new y double- Returns:
- this
-
modify
-