Export (0) Print
Expand All

atan2 Method 

Returns the angle (in radians) from the X axis to a point (x,y).


function atan2(y : Number , x : Number ) : Number

x

Required. A numeric expression representing the Cartesian x-coordinate of a point.

y

Required. A numeric expression representing the Cartesian y-coordinate of a point.

The return value is between -pi and pi, representing the angle of the supplied (x,y) point.

Community Additions

ADD
Show:
© 2014 Microsoft