FileDocCategorySizeDatePackage
PaintFlagsDrawFilter.javaAPI DocAndroid 5.1 API1544Thu Mar 12 22:22:30 GMT 2015android.graphics

PaintFlagsDrawFilter

public class PaintFlagsDrawFilter extends DrawFilter

Fields Summary
public final int
clearBits
public final int
setBits
Constructors Summary
public PaintFlagsDrawFilter(int clearBits, int setBits)
Subclass of DrawFilter that affects every paint by first clearing the specified clearBits in the paint's flags, and then setting the specified setBits in the paint's flags.

param
clearBits These bits will be cleared in the paint's flags
param
setBits These bits will be set in the paint's flags

        this.clearBits = clearBits;
        this.setBits = setBits;
        // our native constructor can return 0, if the specified bits
        // are effectively a no-op
        mNativeInt = nativeConstructor(clearBits, setBits);
    
Methods Summary
private static native longnativeConstructor(int clearBits, int setBits)