to top
Android APIs
public class

PorterDuffColorFilter

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

Summary

Public Constructors

? Examples
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
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.