Sets the end position
Position $position End position:
$this
public function setEnd(Position $position) { $this->end = $position; return $this; }