To start off, add a new method to the TransformablePicture class called adjustPixel(). This method should not
Fantastic news! We've Found the answer you've been seeking!
Question:
"To start off, add a new method to the TransformablePicture class called adjustPixel(). This method should not return a value. It should take a pixel and an integer amount as parameters. It should simply change the RGB color value of the pixel by adding the specified amount to each of the red, green, and blue components of the pixel's color. This is a simple method to get started, and will be used as a building block in other methods."
How can I add the parameters of pixel and integer amount? No fields are declared and I am confused about how adding parameters work
Related Book For
Posted Date: