public static enum NeoPixel.Strand.RotationDirection extends Enum<NeoPixel.Strand.RotationDirection>
Enum Constant and Description |
---|
AWAY
Move LED color patterns away from the board
|
TOWARDS
Move LED color patterns towards the board
|
Modifier and Type | Method and Description |
---|---|
static NeoPixel.Strand.RotationDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NeoPixel.Strand.RotationDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NeoPixel.Strand.RotationDirection TOWARDS
public static final NeoPixel.Strand.RotationDirection AWAY
public static NeoPixel.Strand.RotationDirection[] values()
for (NeoPixel.Strand.RotationDirection c : NeoPixel.Strand.RotationDirection.values()) System.out.println(c);
public static NeoPixel.Strand.RotationDirection 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 null