Grafika\EditorInterface::fill PHP Method

fill() public method

Fill entire image with color.
public fill ( grafika\ImageInterface &$image, Color $color, integer $x, integer $y ) : grafika\EditorInterface
$image grafika\ImageInterface Instance of Image.
$color Color An instance of Grafika\Color class.
$x integer X-coordinate of start point.
$y integer Y-coordinate of start point.
return grafika\EditorInterface An instance of Editor.
    public function fill(&$image, $color, $x = 0, $y = 0);