Snap.deg(rad)

转换弧度为角度。


参数

rad 数值。弧度。


返回值

数值。角度值。


使用
Snap.deg(Math.PI); // 结果是:180