On this pageHome > @jsplumbtoolkit/browser-ui > addadd() functionAdds the x and y values of the two points and returns a new point.Signature:export declare function add(p1: PointXY, p2: PointXY): PointXY;ParametersParameterTypeDescriptionp1PointXYp2PointXYReturns:PointXY