How to change the color factor of an instance of lightingColorFilter

Based on document

http://developer.android.com/reference/android/graphics/LightingColorFilter.html

it seems that the LightingColorFilter class only has a constructor. (Same thing with its parent class, ColorFilter)

How can I save only one LightingColorFilter instance, having the flexibility to change the color properties for this filter instance?

+3
source share
1 answer

I do not think that it is possible to change the filter after it has been created.

You will need to create a new filter for each color that you want to use.

Is not cool: (

+1
source

Source: https://habr.com/ru/post/1766932/


All Articles