將圖片添加在扇形的中心

- Math.toRadians(double angdeg) - 將角度轉換爲弧度 System.out.println(Math.toRadians(90)); // 1.5707963267948966 - Math.cos(double a) - 計算餘弦值 // 先將60°轉換爲弧度,再計算其餘弦值,60°的餘弦值爲0.5 System.out.println(Math.cos(Math
相關文章
相關標籤/搜索