Enum Class GestureGranularConfig.PathMode
java.lang.Object
java.lang.Enum<GestureGranularConfig.PathMode>
net.paulhertz.pixelaudio.granular.GestureGranularConfig.PathMode
- All Implemented Interfaces:
Serializable,Comparable<GestureGranularConfig.PathMode>,Constable
- Enclosing class:
- GestureGranularConfig
Selects which points from a gesture path are used to create a playback schedule.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse all recorded gesture points.Use points generated from a curve representation of the gesture.Use a reduced point set, typically produced by Ramer-Douglas-Peucker simplification. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static GestureGranularConfig.PathMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL_POINTS
Use all recorded gesture points. -
REDUCED_POINTS
Use a reduced point set, typically produced by Ramer-Douglas-Peucker simplification. -
CURVE_POINTS
Use points generated from a curve representation of the gesture.
-
-
Constructor Details
-
PathMode
private PathMode()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-