Added in API level 1

PorterDuffXfermode


open class PorterDuffXfermode : Xfermode
kotlin.Any
   ↳ android.graphics.Xfermode
   ↳ android.graphics.PorterDuffXfermode

Specialized implementation of Paint's transfer mode. Refer to the documentation of the PorterDuff.Mode enum for more information on the available alpha compositing and blending modes.

Summary

Public constructors

Create an xfermode that uses the specified porter-duff mode.

Public constructors

PorterDuffXfermode

Added in API level 1
PorterDuffXfermode(mode: PorterDuff.Mode!)

Create an xfermode that uses the specified porter-duff mode.

Parameters
mode PorterDuff.Mode!: The porter-duff mode that is applied