Reputation: 6154
I need to change the Lightness/Darkenss of bitmaps by varying degrees, at various times. How would I do this?
I am drawing theBitmaps to the canvas in a custom view. I Would like to think there is some way of doing this in the Paint Class.
Upvotes: 0
Views: 1334
Reputation: 6872
I'd look into the Paint.setColorFilter(ColorFilter filter) method, and LightingColorFilter.
With the right values on the LightingColorFilter, you should be able to get the effect you are after.
Upvotes: 1