public function scale($ratio)
    {
        $this->getDimension()
                ->setWidth(
                        round($ratio * $this->getDimension()->getWidth())
                )->setHeight(
                round($ratio * $this->getDimension()->getHeight())
        );

        return $this;
    }
public function scale($ratio)
    {
        $this->getDimension()
                ->setWidth(
                        round($ratio * $this->getDimension()->getWidth())
                )->setHeight(
                round($ratio * $this->getDimension()->getHeight())
        );

        return $this;
    }
public function scale ( $ ratio ) { $ this -> getDimension ( ) -> setWidth ( round ( $ ratio * $ this -> getDimension ( ) -> getWidth ( ) ) ) -> setHeight ( round ( $ ratio * $ this -> getDimension ( ) -> getHeight ( ) ) ) ; return $ this ; }
Scale the box by the given ratio

@param number $ratio

@return \Jaguar\Box
Scale the box by the given ratio