fill function

Image fill (
  1. Image image,
  2. int color
)

Set all of the pixels of an image to the given color.

Implementation

Image fill(Image image, int color) {
  return image.fill(color);
}