Package org.robolectric.shadows
Class ShadowPorterDuffColorFilter
java.lang.Object
org.robolectric.shadows.ShadowPorterDuffColorFilter
@Implements(android.graphics.PorterDuffColorFilter.class) public class ShadowPorterDuffColorFilter extends Object
-
Constructor Summary
Constructors Constructor Description ShadowPorterDuffColorFilter()
-
Method Summary
Modifier and Type Method Description protected void
__constructor__(int color, PorterDuff.Mode mode)
int
getColor()
PorterDuff.Mode
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.
-