public class Icon2D extends Point2D.Double
Point2D.Double, Point2D.Float
x, y
Constructor and Description |
---|
Icon2D() |
Icon2D(Icon icon,
double x,
double y,
int anchor) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getAnchor() |
Icon |
getIcon() |
int |
hashCode() |
static void |
main(String[] args) |
void |
setAnchor(int anchor) |
void |
setIcon(Icon icon) |
void |
setX(double x) |
void |
setY(double y) |
getX, getY, setLocation, toString
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, setLocation
public Icon2D()
public Icon2D(Icon icon, double x, double y, int anchor)