java - how to crop using the rect values? in android -


Hello, I currently am working on a project, I have rectangle values ​​top, left, bottom, right now I want to crop the part, I will use for the crop by a new bitmap the code

  createBitmap (bitmap source, int x, int y, int width, int height, Matrix m, boolean filter)  

But the problem is, I do not know how to get the x and y coordinates of the rectangle, matrix and Boolean filter also? , Please thank me

java

android


Comments

Popular posts from this blog

c++ - C/pp Sockets, recv()/send() works only under gdb -

GO: Serve static pages -

objective c - How to open front/back camera at the same time in iOS developing? -