FileDocCategorySizeDatePackage
PorterDuffColorFilter.javaAPI DocAndroid 1.5 API1364Wed May 06 22:42:00 BST 2009android.graphics

PorterDuffColorFilter

public class PorterDuffColorFilter extends ColorFilter

Fields Summary
Constructors Summary
public PorterDuffColorFilter(int srcColor, PorterDuff.Mode mode)
Create a colorfilter that uses the specified color and porter-duff mode.

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

        native_instance = native_CreatePorterDuffFilter(srcColor,
                                                        mode.nativeInt);
    
Methods Summary
private static native intnative_CreatePorterDuffFilter(int srcColor, int porterDuffMode)