摘要:
一、 android.graphics.Matrix 有关图形的变换、缩放等相关操作常用的方法有: void reset() // 重置一个matrix对象。 void set(Matrix src) //复制一个源矩阵,和本类的构造方法 Matrix(Matrix src) 一样 boolean isIdentity() //返回这个矩阵是否定义(已经有意义) void setRotate(float degrees) //指定一个角度以0,0为坐标进行旋转 void setRotate(float degrees, float px, float py) //指定一个角度以px,py为坐. 阅读全文