src/Drawille/Canvas.php
public function toggle($x, $y) {
        $this->get($x, $y) ? $this->reset($x, $y) : $this->set($x, $y);
    }
public function toggle($x, $y) {
        $this->get($x, $y) ? $this->reset($x, $y) : $this->set($x, $y);
    }
Toggles the pixel state on/off at a given position

@param integer $x x position
@param integer $y y position