| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function __construct($fromX, $fromY, $toX, $toY) |
||
| 29 | { |
||
| 30 | parent::__construct(); |
||
| 31 | $this->getBorder()->setLineStyle(Border::LINE_SINGLE); |
||
| 32 | |||
| 33 | $this->setOffsetX($fromX); |
||
| 34 | $this->setOffsetY($fromY); |
||
| 35 | $this->setWidth($toX - $fromX); |
||
| 36 | $this->setHeight($toY - $fromY); |
||
| 37 | } |
||
| 38 | |||
| 50 |