On this pageHome > @jsplumb/util > addadd() function#Adds the x and y values of the two points and returns a new point.Signature:export declare function add(p1: PointXY, p2: PointXY): PointXY;CopyParameters#ParameterTypeDescriptionp1PointXYp2PointXYReturns:PointXY