课程
/移动开发
/Android
/打造个性的图片预览与多点触控
matrix.mapRect(rectF)到底是做什么用的?也没说啊
2016-04-08
源自:打造个性的图片预览与多点触控 2-4
正在回答
Apply this matrix to the rectangle, and write the transformed rectangleback into it. This is accomplished by transforming the 4 corners of rect,and then setting it to the bounds of those points
根据宽高拿到在view在parent左上右下四个点的矩形范围
慕妹4463934 提问者
举报
实现图片自由缩放与多点触控效果,对Matrix以及手势检测API深入学习