public function drawByBlock ( array $text ) {
        $maxWidth = 0;
        foreach ( $text as $line ) {
            $this->drawByLine($line, true);
            $lineWidth = $this->_getActualLength($line);
            if ( $lineWidth > $maxWidth ) {
                $maxWidth = $lineWidth;
            }
        }
        $this->_canvasSize[0] += $maxWidth;
        echo $this->_cursor
            ->setAncor()
            ->move($maxWidth, -count($text))
            ->getEscapeSequencesByPath();
        return $this;
    }
public function drawByBlock ( array $text ) {
        $maxWidth = 0;
        foreach ( $text as $line ) {
            $this->drawByLine($line, true);
            $lineWidth = $this->_getActualLength($line);
            if ( $lineWidth > $maxWidth ) {
                $maxWidth = $lineWidth;
            }
        }
        $this->_canvasSize[0] += $maxWidth;
        echo $this->_cursor
            ->setAncor()
            ->move($maxWidth, -count($text))
            ->getEscapeSequencesByPath();
        return $this;
    }
public function drawByBlock ( array $ text ) { $ maxWidth = 0 ; foreach ( $ text as $ line ) { $ this -> drawByLine ( $ line , true ) ; $ lineWidth = $ this -> _getActualLength ( $ line ) ; if ( $ lineWidth > $ maxWidth ) { $ maxWidth = $ lineWidth ; } } $ this -> _canvasSize [ 0 ] += $ maxWidth ; echo $ this -> _cursor -> setAncor ( ) -> move ( $ maxWidth , - count ( $ text ) ) -> getEscapeSequencesByPath ( ) ; return $ this ; }
Draw by block

@param array $text Drawing text with decoration tags
@return CuiUtility Self instance
Draw by block