On this pageHome > @jsplumbtoolkit/browser-ui > thetatheta() functionCalculates the angle between the two points.Signature:export declare function theta(p1: PointXY, p2: PointXY): number;ParametersParameterTypeDescriptionp1PointXYFirst pointp2PointXYSecond pointReturns:numberThe angle between the two points.