static Color drawThoughtCircle_defaultColor = Color.white; static void drawThoughtCircle(BufferedImage bg, BufferedImage img, double x, double y) { // TODO: crop to certain size BufferedImage circle = cutImageToCircle(img_addBorder(cutImageToCircle(img), drawThoughtCircle_defaultColor, 10)); x -= circle.getWidth()/2; y -= circle.getHeight()/2; drawImageOnImage(circle, bg, iround(x), iround(y)); }