Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Canvas 上的项目(对象、图像、绘制对象)如何在绘制、绘制后被删除(移除、取消放置,其位置删除(移除))?
如果您想在绘画后设置颜色,请在您的程序中尝试此方法:
paint(Graphics g){ g.setColor(Color.WHITE); getBackground();}