All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sikuli.api.DefaultLocation Maven / Gradle / Ivy

The newest version!
package org.sikuli.api;

/**
 * The DefaultLocation class is used to describe a location on the screen coordinate.
 *
 */
public class DefaultLocation implements Location {

	private int x;
	private int y;
	/**
	 * Constructs a default location at the given screen coordinates.
	 * 
	 * @param x the X location of the screen coordinate.
	 * @param y the Y location of the screen coordinate.
	 */
	public DefaultLocation(int x, int y){
		this.x = x;
		this.y = y;
	}		

	@Override
	public int getX() {
		return x;
	}
	@Override
	public void setX(int x) {
		this.x = x;

	}
	@Override
	public int getY() {
		return y;
	}
	@Override
	public void setY(int y) {
		this.y = y;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy