public static enum ColorizeEffect.SourceMode extends Enum<ColorizeEffect.SourceMode>
Enum Constant and Description |
---|
ALPHA |
AVERAGE |
BLUE |
BRIGHTNESS |
GREEN |
LUMINOSITY |
MIN |
RED |
Modifier and Type | Field and Description |
---|---|
heronarts.lx.effect.color.ColorizeEffect.SourceFunction |
lerp |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ColorizeEffect.SourceMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColorizeEffect.SourceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorizeEffect.SourceMode BRIGHTNESS
public static final ColorizeEffect.SourceMode LUMINOSITY
public static final ColorizeEffect.SourceMode RED
public static final ColorizeEffect.SourceMode GREEN
public static final ColorizeEffect.SourceMode BLUE
public static final ColorizeEffect.SourceMode MIN
public static final ColorizeEffect.SourceMode AVERAGE
public static final ColorizeEffect.SourceMode ALPHA
public static ColorizeEffect.SourceMode[] values()
for (ColorizeEffect.SourceMode c : ColorizeEffect.SourceMode.values()) System.out.println(c);
public static ColorizeEffect.SourceMode 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 String toString()
toString
in class Enum<ColorizeEffect.SourceMode>
LX library by Mark C. Slee. © 2012-2020