Class ShadowPorterDuffColorFilter


  • @Implements(android.graphics.PorterDuffColorFilter.class)
    public class ShadowPorterDuffColorFilter
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void __constructor__​(int color, android.graphics.PorterDuff.Mode mode)  
      boolean equals​(java.lang.Object object)  
      int getColor()  
      android.graphics.PorterDuff.Mode getMode()  
      int hashCode()  
      protected void setColor​(int color)  
      protected void setMode​(android.graphics.PorterDuff.Mode mode)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShadowPorterDuffColorFilter

        public ShadowPorterDuffColorFilter()
    • Method Detail

      • __constructor__

        @Implementation
        protected void __constructor__​(int color,
                                       android.graphics.PorterDuff.Mode mode)
      • setColor

        @Implementation(minSdk=21,
                        maxSdk=28)
        protected void setColor​(int color)
      • setMode

        @Implementation(minSdk=21,
                        maxSdk=28)
        protected void setMode​(android.graphics.PorterDuff.Mode mode)
      • equals

        @Implementation
        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        @Implementation
        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getColor

        public int getColor()
        Returns:
        Returns the ARGB color used to tint the source pixels when this filter is applied.
      • getMode

        public android.graphics.PorterDuff.Mode getMode()
        Returns:
        Returns the Porter-Duff mode used to composite this color filter's color with the source pixel when this filter is applied.