Added in API level 1

PaintFlagsDrawFilter


open class PaintFlagsDrawFilter : DrawFilter
kotlin.Any
   ↳ android.graphics.DrawFilter
   ↳ android.graphics.PaintFlagsDrawFilter

Summary

Public constructors
PaintFlagsDrawFilter(clearBits: Int, setBits: Int)

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 functions

Public constructors

PaintFlagsDrawFilter

Added in API level 1
PaintFlagsDrawFilter(
    clearBits: Int,
    setBits: Int)

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