Function atan2

  • Returns the angle (in radians) from the X axis to a point.

    Parameters

    • y: number

      A numeric expression representing the cartesian y-coordinate.

    • x: number

      A numeric expression representing the cartesian x-coordinate.

    Returns number

Generated using TypeDoc