坐标空间和转换下的api translate() ----转换画布的用户坐标系统。 1、语法: /* @param dx,dy 转换的量X和Y的大小 为画布矩阵添加水平和垂直的偏移 */ translate(dx,dy)