'atan2()' Syntax, Parameters and Note : atan2 « Javascript Methods « JavaScript Reference

'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.

    

      
      








Related examples in the same category

1.'atan2()' Example
2.'atan2()' is applied to