Last active
October 22, 2019 15:12
-
-
Save BurningDroid/2fb580850e5a37eef822ed8d0a0bc5a2 to your computer and use it in GitHub Desktop.
[android] how to draw on the bitmap image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Bitmap newImage = Bitmap.createBitmap(bitmap).copy(Config.ARGB_8888, true); | |
| Canvas canvas = new Canvas(newImage); | |
| canvas.drawCircle(100, 100, 50, pnt); | |
| canvas.drawBitmap(bitImage, x, y, pnt); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment