comefrom: <qiyuangong>733_Flood_Fill_1.java
code: private void dfs(int[][] image, int r, int c, int color, int newColor) {
          if (image[r][c] == color) {
              image[r][c] = newColor;
              if (r - 1 >= 0) dfs(image, r - 1, c, color, newColor);
              if (r + 1 < image.length) dfs(image, r + 1, c, color, newColor);
              if (c - 1 >= 0) dfs(image, r, c - 1, color, newColor);
              if (c + 1 < image[0].length) dfs(image, r, c + 1, color, newColor);
          }
      }
masked: private void sample_funcname ( int [ ] [ ] image , int r , int c , int color , int newColor ) {
    if ( image [ r ] [ c ] == color ) {
      image [ r ] [ c ] = newColor ;
      if ( r - 1 >= 0 ) dfs ( image , r - 1 , c , color , newColor ) ;
      if ( r + 1 < image . length ) dfs ( image , r + 1 , c , color , newColor ) ;
      if ( c - 1 >= 0 ) dfs ( image , r , c - 1 , color , newColor ) ;
      if ( c + 1 < image [ 0 ] . length ) dfs ( image , r , c + 1 , color , newColor ) ;
    }
  }
  