/** * get the line gap value * @returns numeric $linegap **/ public function getLinegap() { if ($this->direction != -1) { return $this->font_metrics[$this->direction]->getLinegap(); } else { return parent::getLinegap(); } }