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