目前分類:UIBezierPath (2)

瀏覽方式: 標題列表 簡短摘要

// 用UIBezierPath 畫一個長方形, 你可自行更改坐標

UIBezierPath *path =  [UIBezierPath bezierPathWithRoundedRect:btnView.bounds  byRoundingCorners:UIRectCornerAllCorners  

cornerRadii:radius];    

文章標籤

Mr.Lin 發表在 痞客邦 留言(0) 人氣()

#define   DEGREES_TO_RADIANS(degrees)  ((pi * degrees)/ 180)

 
文章標籤

Mr.Lin 發表在 痞客邦 留言(0) 人氣()