示例#1
0
 protected void drawImage(
     Graphics2D g,
     BufferedImage image,
     int dx1,
     int dy1,
     int dx2,
     int dy2,
     int sx1,
     int sy1,
     int sx2,
     int sy2) {
   g.drawImage(image, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, null);
 }
示例#2
0
 protected void drawImage(
     Graphics2D gfx, BufferedImage image, int x, int y, ImageObserver observer) {
   gfx.drawImage(image, x, y, image.getWidth(), image.getHeight(), observer);
 }