Math类与画图相关的方法: Math.atan(double d);//反三角tan函数,求得弧度 Math.toDegrees();//弧度转化为角度 Math.toRadians();//角度转化为弧度