为了账号安全,请及时绑定邮箱和手机立即绑定

matrix.mapRect(rectF)到底是做什么用的?也没说啊

matrix.mapRect(rectF)到底是做什么用的?也没说啊

正在回答

1 回答

Apply this matrix to the rectangle, and write the transformed rectangle
back into it. This is accomplished by transforming the 4 corners of rect,
and then setting it to the bounds of those points

根据宽高拿到在view在parent左上右下四个点的矩形范围

0 回复 有任何疑惑可以回复我~
#1

慕妹4463934 提问者

非常感谢!
2016-06-02 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
打造个性的图片预览与多点触控
  • 参与学习       23128    人
  • 解答问题       72    个

实现图片自由缩放与多点触控效果,对Matrix以及手势检测API深入学习

进入课程

matrix.mapRect(rectF)到底是做什么用的?也没说啊

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信