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