fill method

Image fill(
  1. int color
)

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

Implementation

Image fill(int color) {
  data.fillRange(0, data.length, color);
  return this;
}