public function drawLine($x1, $y1, $x2, $y2) { $co_index = $this->getContentObject(); $this->objects[$co_index]->setStream("\n{$x1} {$y1} m\n{$x2} {$y2} l\nS\n"); return $this; }