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);
}