@@ -12,8 +12,8 @@ private FloodFill() {
1212 * Get the color at the given coordinates of a 2D image
1313 *
1414 * @param image The image to be filled
15- * @param x The x co-ordinate of which color is to be obtained
16- * @param y The y co-ordinate of which color is to be obtained
15+ * @param x The x coordinate of which color is to be obtained
16+ * @param y The y coordinate of which color is to be obtained
1717 */
1818
1919 public static int getPixel (final int [][] image , final int x , final int y ) {
@@ -24,8 +24,8 @@ public static int getPixel(final int[][] image, final int x, final int y) {
2424 * Put the color at the given coordinates of a 2D image
2525 *
2626 * @param image The image to be filled
27- * @param x The x co-ordinate at which color is to be filled
28- * @param y The y co-ordinate at which color is to be filled
27+ * @param x The x coordinate at which color is to be filled
28+ * @param y The y coordinate at which color is to be filled
2929 */
3030 public static void putPixel (final int [][] image , final int x , final int y , final int newColor ) {
3131 image [x ][y ] = newColor ;
@@ -35,8 +35,8 @@ public static void putPixel(final int[][] image, final int x, final int y, final
3535 * Fill the 2D image with new color
3636 *
3737 * @param image The image to be filled
38- * @param x The x co-ordinate at which color is to be filled
39- * @param y The y co-ordinate at which color is to be filled
38+ * @param x The x coordinate at which color is to be filled
39+ * @param y The y coordinate at which color is to be filled
4040 * @param newColor The new color which to be filled in the image
4141 * @param oldColor The old color which is to be replaced in the image
4242 */
0 commit comments