2016年6月30日

android学习19--Matrix.mapPoints作用

摘要: android图形的旋转,缩放,平移都是用matrix实现的.可以用mapPoints来计算一个点旋转,缩放,平移后的坐标.看下面例子. matrix表示沿x轴移动100个像素,沿y轴移动100个像素.points1的初始值是(0,0).matrix.mapPoints(points1)的作用就是把 阅读全文

posted @ 2016-06-30 08:12 荷楠仁 阅读(4148) 评论(0) 推荐(0) 编辑

导航