public function multiply($width, $height=null)
    {
        if ($width instanceof Size) {
            $height = $width->height();
            $width = $width->width();
        }

        $height = $height ? $height : $width;

        return new static($this->width()*$width, $this->height()*$height);
    }
public function multiply($width, $height=null)
    {
        if ($width instanceof Size) {
            $height = $width->height();
            $width = $width->width();
        }

        $height = $height ? $height : $width;

        return new static($this->width()*$width, $this->height()*$height);
    }
public function multiply ( $ width , $ height = null ) { if ( $ width instanceof Size ) { $ height = $ width -> height ( ) ; $ width = $ width -> width ( ) ; } $ height = $ height ? $ height : $ width ; return new static ( $ this -> width ( ) * $ width , $ this -> height ( ) * $ height ) ; }
Multiplies the width with another width and this height with another height.
Returns a new Size.

@param float|Size $width
@param float      $height (optional)

@return static
Multiplies the width with another width and this height with another height . Returns a new Size .