static BufferedImage renderShape_antiAlias(Color bg default Color.white, Shape shape, int w, int h) { BufferedImage img = newBufferedImage(w, h, bg); Graphics2D g = antiAliasOn(img.createGraphics()); g.setColor(Color.black); g.fill(shape); ret img; }