public function relativePosition(Size $size)
    {
        $x = $this->pivot->x - $size->pivot->x;
        $y = $this->pivot->y - $size->pivot->y;

        return new Point($x, $y);
    }
public function relativePosition(Size $size)
    {
        $x = $this->pivot->x - $size->pivot->x;
        $y = $this->pivot->y - $size->pivot->y;

        return new Point($x, $y);
    }
public function relativePosition ( Size $ size ) { $ x = $ this -> pivot -> x - $ size -> pivot -> x ; $ y = $ this -> pivot -> y - $ size -> pivot -> y ; return new Point ( $ x , $ y ) ; }
Calculate the relative position to another Size
based on the pivot point settings of both sizes.

@param  Size   $size
@return \Intervention\Image\Point
Calculate the relative position to another Size based on the pivot point settings of both sizes .