前景提要
HDC调试需求开发(15万预算),能者速来!>>>
for(int i = 1; i <= 60; i++){
Line l1 = new Line(centerX + clockRadius*Math.sin(i *(2 * Math.PI/60)),centerY - clockRadius*Math.cos(i * (2 * Math.PI/60)),(centerX + clockRadius*Math.sin(i * (2 * Math.PI/60)))-(clockRadius /10)*Math.sin(i * (2 * Math.PI/60)),(centerY - clockRadius*Math.cos(i * (2 * Math.PI/60)))+(clockRadius /10)*Math.cos(i * (2 * Math.PI/60)));
}
为什么此方法不能遍历钟表上的小刻度,其他方法又怎么做?谢谢!