function setSize()
    {
        $oldX = $this->sizeX;
        $oldY = $this->sizeY;

        $args = func_get_args();

        if (!empty($args)) $this->sizeX = array_shift($args);

        if (!empty($args)) $this->sizeY = array_shift($args);

        $this->onResize($oldX, $oldY);
    }
function setSize()
    {
        $oldX = $this->sizeX;
        $oldY = $this->sizeY;

        $args = func_get_args();

        if (!empty($args)) $this->sizeX = array_shift($args);

        if (!empty($args)) $this->sizeY = array_shift($args);

        $this->onResize($oldX, $oldY);
    }
function setSize ( ) { $ oldX = $ this -> sizeX ; $ oldY = $ this -> sizeY ; $ args = func_get_args ( ) ; if ( ! empty ( $ args ) ) $ this -> sizeX = array_shift ( $ args ) ; if ( ! empty ( $ args ) ) $ this -> sizeY = array_shift ( $ args ) ; $ this -> onResize ( $ oldX , $ oldY ) ; }
Sets the size of the element
@param float
@param float
Sets the size of the element