public function clear(int $value) : void
    {
        for ($y = 0; $y < $this->height; ++$y) {
            for ($x = 0; $x < $this->width; ++$x) {
                $this->bytes[$y][$x] = $value;
            }
        }
    }
public function clear(int $value) : void
    {
        for ($y = 0; $y < $this->height; ++$y) {
            for ($x = 0; $x < $this->width; ++$x) {
                $this->bytes[$y][$x] = $value;
            }
        }
    }
public function clear ( int $ value ) : void { for ( $ y = 0 ; $ y < $ this -> height ; ++ $ y ) { for ( $ x = 0 ; $ x < $ this -> width ; ++ $ x ) { $ this -> bytes [ $ y ] [ $ x ] = $ value ; } } }
Clears the matrix with a specific value.
Clears the matrix with a specific value .