fill

Fill entire image with color.

fill ( ImageInterface &$image, Color $color, int $x = 0, int $y = 0 ): EditorInterface 
Parameters
image

Instance of Image.

color

An instance of Grafika\Color class.

x

X-coordinate of start point.

y

Y-coordinate of start point.

Returns
An instance of Editor.