public class Location extends Point
Point2D.Double, Point2D.Float
Constructor and Description |
---|
Location(float _x,
float _y) |
Location(int _x,
int _y) |
Location(Location loc) |
Modifier and Type | Method and Description |
---|---|
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() |
equals, getLocation, getX, getY, move, setLocation, setLocation, setLocation, translate
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, hashCode, setLocation
public Location(float _x, float _y)
public Location(int _x, int _y)
public Location(Location loc)