Package org.robolectric.shadows
Class ShadowPorterDuffColorFilter
java.lang.Object
org.robolectric.shadows.ShadowPorterDuffColorFilter
- Direct Known Subclasses:
ShadowNativePorterDuffColorFilter
@Implements(android.graphics.PorterDuffColorFilter.class)
public class ShadowPorterDuffColorFilter
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
__constructor__
(int color, PorterDuff.Mode mode) int
getColor()
getMode()
-
Constructor Details
-
ShadowPorterDuffColorFilter
public ShadowPorterDuffColorFilter()
-
-
Method Details
-
__constructor__
-
getColor
- Returns:
- Returns the ARGB color used to tint the source pixels when this filter is applied.
-
getMode
- Returns:
- Returns the Porter-Duff mode used to composite this color filter's color with the source pixel when this filter is applied.
-