/** * Returns the X and Y attributes as a Point2D * * @return Point2D */ public Point2D getLocation() { return new Point2D(getX(), getY()); }
/** * Returns the X and Y attributes as a Point2D * * @return Point2D */ public Point2D getLocation() { return new Point2D(getX(), getY()); }