作用就是移动原点,默认的原点(0,0)是在屏幕左上角的,你可以通过translate(x,y)把点(x,y)作为原点 转载于:https://www.cnblogs.com/cappuccino/archive/2011/08/03/2126326.html