Android APIs
public static final enum

PorterDuff.Mode

extends Enum<PorterDuff.Mode>
java.lang.Object
   ↳ java.lang.Enum<android.graphics.PorterDuff.Mode>
     ↳ android.graphics.PorterDuff.Mode

Summary

Enum Values
PorterDuff.Mode  ADD  Saturate(S + D)  
PorterDuff.Mode  CLEAR  [0, 0]  
PorterDuff.Mode  DARKEN  [Sa + Da - Sa*Da, Sc*(1 - Da) + Dc*(1 - Sa) + min(Sc, Dc)]  
PorterDuff.Mode  DST  [Da, Dc]  
PorterDuff.Mode  DST_ATOP  [Sa, Sa * Dc + Sc * (1 - Da)]  
PorterDuff.Mode  DST_IN  [Sa * Da, Sa * Dc]  
PorterDuff.Mode  DST_OUT  [Da * (1 - Sa), Dc * (1 - Sa)]  
PorterDuff.Mode  DST_OVER  [Sa + (1 - Sa)*Da, Rc = Dc + (1 - Da)*Sc]  
PorterDuff.Mode  LIGHTEN  [Sa + Da - Sa*Da, Sc*(1 - Da) + Dc*(1 - Sa) + max(Sc, Dc)]  
PorterDuff.Mode  MULTIPLY  [Sa * Da, Sc * Dc]  
PorterDuff.Mode  OVERLAY   
PorterDuff.Mode  SCREEN  [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]  
PorterDuff.Mode  SRC  [Sa, Sc]  
PorterDuff.Mode  SRC_ATOP  [Da, Sc * Da + (1 - Sa) * Dc]  
PorterDuff.Mode  SRC_IN  [Sa * Da, Sc * Da]  
PorterDuff.Mode  SRC_OUT  [Sa * (1 - Da), Sc * (1 - Da)]  
PorterDuff.Mode  SRC_OVER  [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]  
PorterDuff.Mode  XOR  [Sa + Da - 2 * Sa * Da, Sc * (1 - Da) + (1 - Sa) * Dc]  
Public Methods
static PorterDuff.Mode valueOf(String name)
final static Mode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final PorterDuff.Mode ADD

Added in API level 1

Saturate(S + D)

public static final PorterDuff.Mode CLEAR

Added in API level 1

[0, 0]

public static final PorterDuff.Mode DARKEN

Added in API level 1

[Sa + Da - Sa*Da, Sc*(1 - Da) + Dc*(1 - Sa) + min(Sc, Dc)]

public static final PorterDuff.Mode DST

Added in API level 1

[Da, Dc]

public static final PorterDuff.Mode DST_ATOP

Added in API level 1

[Sa, Sa * Dc + Sc * (1 - Da)]

public static final PorterDuff.Mode DST_IN

Added in API level 1

[Sa * Da, Sa * Dc]

public static final PorterDuff.Mode DST_OUT

Added in API level 1

[Da * (1 - Sa), Dc * (1 - Sa)]

public static final PorterDuff.Mode DST_OVER

Added in API level 1

[Sa + (1 - Sa)*Da, Rc = Dc + (1 - Da)*Sc]

public static final PorterDuff.Mode LIGHTEN

Added in API level 1

[Sa + Da - Sa*Da, Sc*(1 - Da) + Dc*(1 - Sa) + max(Sc, Dc)]

public static final PorterDuff.Mode MULTIPLY

Added in API level 1

[Sa * Da, Sc * Dc]

public static final PorterDuff.Mode OVERLAY

Added in API level 1

public static final PorterDuff.Mode SCREEN

Added in API level 1

[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc]

public static final PorterDuff.Mode SRC

Added in API level 1

[Sa, Sc]

public static final PorterDuff.Mode SRC_ATOP

Added in API level 1

[Da, Sc * Da + (1 - Sa) * Dc]

public static final PorterDuff.Mode SRC_IN

Added in API level 1

[Sa * Da, Sc * Da]

public static final PorterDuff.Mode SRC_OUT

Added in API level 1

[Sa * (1 - Da), Sc * (1 - Da)]

public static final PorterDuff.Mode SRC_OVER

Added in API level 1

[Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc]

public static final PorterDuff.Mode XOR

Added in API level 1

[Sa + Da - 2 * Sa * Da, Sc * (1 - Da) + (1 - Sa) * Dc]

Public Methods

public static PorterDuff.Mode valueOf (String name)

Added in API level 1

public static final Mode[] values ()

Added in API level 1