org.sikuli.script
Class Location

java.lang.Object
  extended by java.awt.geom.Point2D
      extended by java.awt.Point
          extended by org.sikuli.script.Location
All Implemented Interfaces:
Serializable, Cloneable

public class Location
extends Point

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.geom.Point2D
Point2D.Double, Point2D.Float
 
Field Summary
 
Fields inherited from class java.awt.Point
x, y
 
Constructor Summary
Location(float _x, float _y)
           
Location(int _x, int _y)
           
Location(Location loc)
           
 
Method Summary
 Location above(int dy)
           
 Location below(int dy)
           
 Location left(int dx)
           
 Location negative()
           
 Location offset(int dx, int dy)
           
 Location right(int dx)
           
 String toString()
           
 
Methods inherited from class java.awt.Point
equals, getLocation, getX, getY, move, setLocation, setLocation, setLocation, translate
 
Methods inherited from class java.awt.geom.Point2D
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, hashCode, setLocation
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Location

public Location(float _x,
                float _y)

Location

public Location(int _x,
                int _y)

Location

public Location(Location loc)
Method Detail

negative

public Location negative()

offset

public Location offset(int dx,
                       int dy)

left

public Location left(int dx)

right

public Location right(int dx)

above

public Location above(int dy)

below

public Location below(int dy)

toString

public String toString()
Overrides:
toString in class Point