Point.angle()

The Point.angle() method returns the angle (in degrees) between this point and the point passed into the method. An angle of 0° points to the right, and the angle increases counterclockwise.

Signature

Javascript
float point.angle(Point pointB)

Example

345°