chenqingspring / ng-lottie

Render After Effects animations on Angular based on lottie-web
MIT License
340 stars 100 forks source link

support for lottie color filters #15

Open marcelinoGarcia opened 7 years ago

marcelinoGarcia commented 7 years ago

It would be nice if we could change color of animation's componets.

color_filter="@color/blue" in configuration and (or): animationView.addColor(color) animationView.addColorFilterToLayer('layerName', color) animationView.addColorFilterToContent('layerName', color); animationView.clearColorFilters()****

as we can see in http://airbnb.io/lottie/android/colors.html