返回由 X 軸到 (y,x) 點的角度(以弧度為單位)。
Math.atan2(y, x)
返回值在 -pi 和 pi 之間,表示提供的 (y,x) 點的角度。
版本 1
atan 方法 | tan 方法
應(yīng)用于: Math 對象
© 2001 Microsoft Corporation. 保留所有權(quán)利。