org.sikuli.api
Interface Region

All Known Subinterfaces:
ScreenRegion
All Known Implementing Classes:
AbstractScreenRegion, DefaultRegion, DefaultScreenRegion, DesktopScreenRegion, StaticImageScreenRegion

public interface Region

The Region interface provides definitions for the objects that represent a Region.


Method Summary
 Rectangle getBounds()
          Returns the bounding Rectangle of this Region.
 int getHeight()
           
 int getWidth()
           
 int getX()
           
 int getY()
           
 void setBounds(Rectangle newBounds)
          Sets the bounding Rectangle of this Rectangle.
 

Method Detail

getBounds

Rectangle getBounds()
Returns the bounding Rectangle of this Region.

Returns:
a Rectangle object that represents the bounding of this Region.

setBounds

void setBounds(Rectangle newBounds)
Sets the bounding Rectangle of this Rectangle.

Parameters:
newBounds - the specified bounding Rectangle.

getX

int getX()

getY

int getY()

getWidth

int getWidth()

getHeight

int getHeight()


Copyright © 2014. All rights reserved.