我知道如何用纯色填充Swing中的矩形:Graphics2Dg2d=bi.createGraphics();g2d.setColor(Color.RED);g2d.fillRect(0,0,100,100);我知道如何用图像填充它:BufferedImagebi;Graphics2Dg2d=bi.createGraphics();g2d.setPaint(newColor(r,g,b));g2d.fillRect(0,0,bi.getWidth(),bi.getHeight());但是如何用一些大小为100x100的平铺图案填充大小为950x950的矩形?(图案图片应该使用100次)