to top
Android APIs
public class

PorterDuffColorFilter

extends ColorFilter
java.lang.Object
   ↳ android.graphics.ColorFilter
     ↳ android.graphics.PorterDuffColorFilter

Summary

Public Constructors
PorterDuffColorFilter(int srcColor, PorterDuff.Mode mode)
Create a colorfilter that uses the specified color and porter-duff mode.
[Expand]
Inherited Methods
From class android.graphics.ColorFilter
From class java.lang.Object

Public Constructors

public PorterDuffColorFilter (int srcColor, PorterDuff.Mode mode)

Since: API Level 1

Create a colorfilter that uses the specified color and porter-duff mode.

Parameters
srcColor The source color used with the specified porter-duff mode
mode The porter-duff mode that is applied