private void copyArea ( BufferedImage image , int x , int y , int width , int height , int dx , int dy ) { Graphics2D g = ( Graphics2D ) image . getGraphics ( ) ; g . drawImage ( image . getSubimage ( x , y , width , height ) , x + dx , y + dy , null ) ; }
Implement of transform copy area for 1 . 4