static void updateCanvas(ImageSurface canvas, O makeImg) { is.setImage(asBufferedImage(callF(makeImg, canvas.getWidth(), canvas.getHeight()))); }