Mega Code Archive

 
Categories / JavaScript Reference / Javascript Methods
 

Atan2() Syntax, Parameters and Note

Note: By X and Y coordinates.      Syntax:      Math.atan2(param1, param2) Parameters:     param1   Required; the Y coordinate of the point.     param2   Required; the X coordinate of the point.