library/Garp/Adobe/InDesign/SpreadNode.php
protected function _getCoordinates() {
        $itemTransformString = (string)$this->_nodeConfig->attributes()->ItemTransform;
        $itemTransformArray = explode(' ', $itemTransformString);
        $coordinates = array(
            'x' => $itemTransformArray[count($itemTransformArray) - 2],
            'y' => $itemTransformArray[count($itemTransformArray) - 1]
        );

        return $coordinates;
    }
protected function _getCoordinates() {
        $itemTransformString = (string)$this->_nodeConfig->attributes()->ItemTransform;
        $itemTransformArray = explode(' ', $itemTransformString);
        $coordinates = array(
            'x' => $itemTransformArray[count($itemTransformArray) - 2],
            'y' => $itemTransformArray[count($itemTransformArray) - 1]
        );

        return $coordinates;
    }
protected function _getCoordinates ( ) { $ itemTransformString = ( string ) $ this -> _nodeConfig -> attributes ( ) -> ItemTransform ; $ itemTransformArray = explode ( ' ' , $ itemTransformString ) ; $ coordinates = array ( 'x' => $ itemTransformArray [ count ( $ itemTransformArray ) - 2 ] , 'y' => $ itemTransformArray [ count ( $ itemTransformArray ) - 1 ] ) ; return $ coordinates ; }
Get x- and y-coordinate of a node in a InDesign Spread that has an ItemTransform property.

@return array An associative array with keys 'x' and 'y'.
Get x - and y - coordinate of a node in a InDesign Spread that has an ItemTransform property .