On this pageHome > @jsplumb/util > thetatheta() function#Calculates the angle between the two points.Signature:export declare function theta(p1: PointXY, p2: PointXY): number;CopyParameters#ParameterTypeDescriptionp1PointXYFirst pointp2PointXYSecond pointReturns:numberThe angle between the two points.