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

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -