【发布时间】:2015-07-11 22:34:35
【问题描述】:
当我用圆角绘制 BufferedImage 时
BufferedImage image = new BufferedImage(100, 100, BufferedImage.TYPE_INT_RGB);
Graphics2D graphics = image.createGraphics();
graphics.setColor(Color.WHITE);
graphics.fill(new RoundRectangle2D.Float(0, 0, 60, 60, 20, 20));
输出图像为:
如何接收没有黑角的图像?
【问题讨论】:
标签: java bufferedimage graphics2d