public enum BlendFactor extends Enum<BlendFactor> implements IEnumWithValue
| Enum Constant and Description |
|---|
CONSTANT_ALPHA
Multiplies all colors by a constant alpha value.
|
CONSTANT_COLOR
Multiplies all colors by a constant color.
|
DST_ALPHA
Multiplies all colors by the destination alpha value.
|
DST_COLOR
Multiplies all colors by the destination color.
|
ONE
Multiplies all colors by 1.
|
ONE_MINUS_CONSTANT_ALPHA
Multiplies all colors by 1 minus a constant alpha value.
|
ONE_MINUS_CONSTANT_COLOR
Multiplies all colors by 1 minus a constant color.
|
ONE_MINUS_DST_ALPHA
Multiplies all colors by 1 minus the destination alpha value.
|
ONE_MINUS_DST_COLOR
Multiplies all colors by 1 minus each destination color.
|
ONE_MINUS_SRC_ALPHA
Multiplies all colors by 1 minus the source alpha value.
|
ONE_MINUS_SRC_COLOR
Multiplies all colors by 1 minus each source color.
|
SRC_ALPHA
Multiplies all colors by the source alpha value.
|
SRC_ALPHA_SATURATE
Multiplies the RGB colors by the smaller of either the source alpha value or the value of 1
minus the destination alpha value.
|
SRC_COLOR
Multiplies all colors by the source colors.
|
ZERO
Multiplies all colors by 0.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static BlendFactor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlendFactor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffromValue, transformForClientpublic static final BlendFactor CONSTANT_ALPHA
public static final BlendFactor CONSTANT_COLOR
public static final BlendFactor DST_ALPHA
public static final BlendFactor DST_COLOR
public static final BlendFactor ONE
public static final BlendFactor ONE_MINUS_CONSTANT_ALPHA
public static final BlendFactor ONE_MINUS_CONSTANT_COLOR
public static final BlendFactor ONE_MINUS_DST_ALPHA
public static final BlendFactor ONE_MINUS_DST_COLOR
public static final BlendFactor ONE_MINUS_SRC_ALPHA
public static final BlendFactor ONE_MINUS_SRC_COLOR
public static final BlendFactor SRC_ALPHA
public static final BlendFactor SRC_ALPHA_SATURATE
public static final BlendFactor SRC_COLOR
public static final BlendFactor ZERO
public static BlendFactor[] values()
for (BlendFactor c : BlendFactor.values()) System.out.println(c);
public static BlendFactor valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int value()
value in interface IEnumWithValueCopyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.