Reputation: 543
I need to draw an image on android, but I want to draw it row by row how can I do that with good performance.
Also, if I need to draw a random region in an image how could i get it in android....
I'm totally new to the android programming.
Upvotes: 0
Views: 69
Reputation: 707
https://developer.android.com/guide/topics/graphics/2d-graphics.html
http://androidcodesnippetsblog.blogspot.in/2013/01/drawing-image-using-canvas-in-android.html
try this this will help you.
Upvotes: 0
Reputation: 18670
This is all explained in the Canvas and Drawables developer guide.
Basically the Canvas API "provides a set of 2D-drawing APIs that allow you to render your own custom graphics onto a canvas".
Upvotes: 1