svoid setPixels(BufferedImage img, Iterable points, Color color) { if (img == null) ret; fOr (p : points) img.setRGB(p.x, p.y, colorToIntOpaque(color)); }