Class 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 Detail

      • SimpleColorFilter

        public SimpleColorFilter​(@ColorInt
                                 int color)