2021-07-19 07:28 PM
Hi,
I want to make a big image gradually darken, I used setAlpha() and invalidate() function in handleTickEvent(), but frequent use of setAlpha() and invalidate() function slows down tick time.
Is there a better way to implement this feature?
Solved! Go to Solution.
2021-07-20 12:17 AM
Hi,
Not at the moment unfortunately. The workaround for a big image would be to slow down a bit the darkening (instead of every tick you darken it every 2 ticks for example). Or reduce the amount of steps.
/Romain
2021-07-20 12:17 AM
Hi,
Not at the moment unfortunately. The workaround for a big image would be to slow down a bit the darkening (instead of every tick you darken it every 2 ticks for example). Or reduce the amount of steps.
/Romain