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

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.
[Expand]
Inherited Methods
From class android.graphics.DrawFilter
From class java.lang.Object

Public Constructors

public PaintFlagsDrawFilter (int clearBits, int setBits)

Added in API level 1

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 These bits will be cleared in the paint's flags
setBits These bits will be set in the paint's flags