Added in API level 1

PorterDuffXfermode


public class PorterDuffXfermode
extends Xfermode

java.lang.Object
   ↳ 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

PorterDuffXfermode(PorterDuff.Mode mode)

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

Inherited methods

Public constructors

PorterDuffXfermode

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

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

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