Skip to main content

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

float point.angle(Point pointB)

Example

345°

An example of the Point.angle() method