Ejemplo n.º 1
0
 function postFilter(\Manialib\Manialink\Elements\Base $node)
 {
     $this->xIndex += $node->getRealSizenX() + $this->marginWidth;
     if (!$this->maxHeight || $node->getRealSizenY() > $this->maxHeight) {
         $this->maxHeight = $node->getRealSizenY();
     }
     $this->currentLineElementCount++;
 }
Ejemplo n.º 2
0
 function preFilter(\ManiaLib\Manialink\Elements\Base $node)
 {
     $this->yIndex += $node->getRealSizenY() + $this->marginHeight;
 }