fill method Null safety
- 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;
}
Set all of the pixels of the image to the given color
.
Image fill(int color) {
data.fillRange(0, data.length, color);
return this;
}