Class ShadowPorterDuffColorFilter

    • Constructor Detail

      • ShadowPorterDuffColorFilter

        public ShadowPorterDuffColorFilter()
    • Method Detail

      • __constructor__

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

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

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

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

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

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

        public 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.