/**
* Create a new \PhpOffice\PhpPresentation\Shape\Line instance
*
* @param int $fromX
* @param int $fromY
* @param int $toX
* @param int $toY
*/
public function __construct($fromX, $fromY, $toX, $toY)
{
parent::__construct();
$this->getBorder()->setLineStyle(Border::LINE_SINGLE);
$this->setOffsetX($fromX);
$this->setOffsetY($fromY);
$this->setWidth($toX - $fromX);
$this->setHeight($toY - $fromY);
}