|
Build 1.1_r1 (from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PorterDuff.Mode>
android.graphics.PorterDuff.Mode
public static enum PorterDuff.Mode
| Enum Constant Summary | |
|---|---|
CLEAR
[0, 0] |
|
DARKEN
[Sa + Da - Sa*Da, Sc*(1 - Da) + Dc*(1 - Sa) + min(Sc, Dc)] |
|
DST
[Da, Dc] |
|
DST_ATOP
[Sa, Sa * Dc + Sc * (1 - Da)] |
|
DST_IN
[Sa * Da, Sa * Dc] |
|
DST_OUT
[Da * (1 - Sa), Dc * (1 - Sa)] |
|
DST_OVER
[Sa + (1 - Sa)*Da, Rc = Dc + (1 - Da)*Sc] |
|
LIGHTEN
[Sa + Da - Sa*Da, Sc*(1 - Da) + Dc*(1 - Sa) + max(Sc, Dc)] |
|
MULTIPLY
[Sa * Da, Sc * Dc] |
|
SCREEN
[Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] |
|
SRC
[Sa, Sc] |
|
SRC_ATOP
[Da, Sc * Da + (1 - Sa) * Dc] |
|
SRC_IN
[Sa * Da, Sc * Da] |
|
SRC_OUT
[Sa * (1 - Da), Sc * (1 - Da)] |
|
SRC_OVER
[Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] |
|
XOR
[Sa + Da - 2 * Sa * Da, Sc * (1 - Da) + (1 - Sa) * Dc] |
|
| Field Summary | |
|---|---|
(package private) int |
nativeInt
|
| Method Summary | |
|---|---|
static PorterDuff.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PorterDuff.Mode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PorterDuff.Mode CLEAR
public static final PorterDuff.Mode SRC
public static final PorterDuff.Mode DST
public static final PorterDuff.Mode SRC_OVER
public static final PorterDuff.Mode DST_OVER
public static final PorterDuff.Mode SRC_IN
public static final PorterDuff.Mode DST_IN
public static final PorterDuff.Mode SRC_OUT
public static final PorterDuff.Mode DST_OUT
public static final PorterDuff.Mode SRC_ATOP
public static final PorterDuff.Mode DST_ATOP
public static final PorterDuff.Mode XOR
public static final PorterDuff.Mode DARKEN
public static final PorterDuff.Mode LIGHTEN
public static final PorterDuff.Mode MULTIPLY
public static final PorterDuff.Mode SCREEN
| Field Detail |
|---|
final int nativeInt
| Method Detail |
|---|
public static PorterDuff.Mode[] values()
for (PorterDuff.Mode c : PorterDuff.Mode.values()) System.out.println(c);
public static PorterDuff.Mode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
Build 1.1_r1 (from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||