Package com.airbnb.lottie
Class SimpleColorFilter
- java.lang.Object
-
- android.graphics.ColorFilter
-
- android.graphics.PorterDuffColorFilter
-
- com.airbnb.lottie.SimpleColorFilter
-
public class SimpleColorFilter extends PorterDuffColorFilter
A color filter with a predefined transfer mode that applies the specified color on top of the original color. As there are many other transfer modes, please take a look at the definition of PorterDuff.Mode.SRC_ATOP to find one that suits your needs. This site has a great explanation of Porter/Duff compositing algebra as well as a visual representation of many of the transfer modes: http://ssp.impulsetrain.com/porterduff.html
-
-
Constructor Summary
Constructors Constructor Description SimpleColorFilter(int color)
-
Method Summary
-
Methods inherited from class android.graphics.PorterDuffColorFilter
equals, hashCode
-
-