public static enum NeoPixel.RotationDirection extends java.lang.Enum<NeoPixel.RotationDirection>
Enum Constant and Description |
---|
AWAY
Move pixels away from the board
|
TOWARDS
Move pixels towards the board
|
Modifier and Type | Method and Description |
---|---|
static NeoPixel.RotationDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NeoPixel.RotationDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NeoPixel.RotationDirection TOWARDS
public static final NeoPixel.RotationDirection AWAY
public static NeoPixel.RotationDirection[] values()
for (NeoPixel.RotationDirection c : NeoPixel.RotationDirection.values()) System.out.println(c);
public static NeoPixel.RotationDirection valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null