docs: public static ArrayList<Point2> getPoints(int startX, int startY, int endX, int endY) {
      final ArrayList<Point2> result = new ArrayList<Point2>();
      for (int y = startY; y < endY; y++) {
        for (int x = startX; x < endX; x++) {
          result.add(new Point2(x, y));
        }
      }
      return result;
    }