Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 1

PaintFlagsDrawFilter

public class PaintFlagsDrawFilter
extends DrawFilter

java.lang.Object
   ↳ android.graphics.DrawFilter
     ↳ android.graphics.PaintFlagsDrawFilter


Summary

Public constructors

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.

Inherited methods

Public constructors

PaintFlagsDrawFilter

added in API level 1
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.

Parameters
clearBits int: These bits will be cleared in the paint's flags

setBits int: These bits will be set in the paint's flags