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

org.sikuli.script.IScreen Maven / Gradle / Ivy

/*
 * Copyright 2010-2014, Sikuli.org, sikulix.com
 * Released under the MIT License.
 *
 * modified RaiMan
 */
package org.sikuli.script;

import java.awt.Rectangle;
import java.io.IOException;

/**
 * INTERNAL USE
 * function template for (alternative) Screen implementations
 */
public interface IScreen {
  
	public IRobot getRobot();

	public Rectangle getBounds();

	public ScreenImage capture();

	public ScreenImage capture(int x, int y, int w, int h);

	public ScreenImage capture(Rectangle rect);

	public ScreenImage capture(Region reg);

	public boolean isOtherScreen();

	public Rectangle getRect();

	public void showTarget(Location location);

	public int getID();

	public ScreenImage getLastScreenImageFromScreen();

  public String getLastScreenImageFile(String path, String name) throws IOException;

	public int getX();

	public int getW();

	public int getY();
	
	public int getH();

	public ScreenImage userCapture(String string);

	public int getIdFromPoint(int srcx, int srcy);
	
	public String toStringShort();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy