float left = 100; float top = 100; canvas.drawBitmap(mybitmap, left, top, mypaint); left += 20; top += 20; canvas.drawBitmap(mybitmap, left, top, mypaint); left += 20; top += 20; canvas.drawBitmap(mybitmap, left, top, mypaint);
Programming Tips - On Android, can a bitmap be a brush?
Date: 2017feb6
OS: Android
Language: Java
Q. On Android, can a bitmap be a brush?
A. No. There is no Brush class in Android.
There is Paint but it just specifies details of how drawing is done.
If you want to repeatedly use a bitmap use drawpBitmap: