What is the difference between ImageView.getMatrix() and ImageView.getImageMatrix()?

后端 未结 1 528
半阙折子戏
半阙折子戏 2021-01-24 06:11

I\'ve seen this question asked in different forums, but no one ever gave an answer. Does getMatrix deal with the images position within the view while getImageMatrix deals with

1条回答
  •  广开言路
    2021-01-24 06:27

    getMatrix() returns matrix that you can use to manipulate the view itself, translate, rotate, scaled or skew the view. It is method of View class. While getImageMatrix() returns matrix for manipulating drawable inside ImageView and it is declared in ImageView class.

    0 讨论(0)
提交回复
热议问题