Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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)

Added in 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