封鎖 >utils >數學 >toDegrees

utils.math.toDegrees() 函式

將弧度轉換成角度。從 Closure 的 goog.math.toDegrees 複製。

Signature:

export declare function toDegrees(angleRadians: number): number;

參數

參數 類型 說明
angleRadians 數字 角度以弧度為單位。

傳回:

數字

角度。