How do you tint a bitmap in Android?

前端 未结 1 1607
刺人心
刺人心 2020-12-13 03:01

I draw a bitmap onto a canvas using the following call:

_playerImage = BitmapFactory.decodeResource(getResources(), R.drawable.player);

How

相关标签:
1条回答
  • 2020-12-13 03:36

    You can use a ColorFilter on your Paint when you draw the bitmap.

    0 讨论(0)
提交回复
热议问题