@@ -12,8 +12,8 @@ private BoundaryFill() {
1212 * Get the color at the given co-odrinates of a 2D image
1313 *
1414 * @param image The image to be filled
15- * @param xCoordinate The x co-ordinate of which color is to be obtained
16- * @param yCoordinate The y co-ordinate of which color is to be obtained
15+ * @param xCoordinate The x coordinate of which color is to be obtained
16+ * @param yCoordinate The y coordinate of which color is to be obtained
1717 */
1818 public static int getPixel (int [][] image , int xCoordinate , int yCoordinate ) {
1919 return image [xCoordinate ][yCoordinate ];
@@ -23,8 +23,8 @@ public static int getPixel(int[][] image, int xCoordinate, int yCoordinate) {
2323 * Put the color at the given co-odrinates of a 2D image
2424 *
2525 * @param image The image to be filed
26- * @param xCoordinate The x co-ordinate at which color is to be filled
27- * @param yCoordinate The y co-ordinate at which color is to be filled
26+ * @param xCoordinate The x coordinate at which color is to be filled
27+ * @param yCoordinate The y coordinate at which color is to be filled
2828 */
2929 public static void putPixel (int [][] image , int xCoordinate , int yCoordinate , int newColor ) {
3030 image [xCoordinate ][yCoordinate ] = newColor ;
@@ -34,8 +34,8 @@ public static void putPixel(int[][] image, int xCoordinate, int yCoordinate, int
3434 * Fill the 2D image with new color
3535 *
3636 * @param image The image to be filed
37- * @param xCoordinate The x co-ordinate at which color is to be filled
38- * @param yCoordinate The y co-ordinate at which color is to be filled
37+ * @param xCoordinate The x coordinate at which color is to be filled
38+ * @param yCoordinate The y coordinate at which color is to be filled
3939 * @param newColor The new color which to be filled in the image
4040 * @param boundaryColor The old color which is to be replaced in the image
4141 */
0 commit comments