Package net.paulhertz.pixelaudio.curves
Enum Class PABoundsPolicy.PABoundaryMode
java.lang.Object
java.lang.Enum<PABoundsPolicy.PABoundaryMode>
net.paulhertz.pixelaudio.curves.PABoundsPolicy.PABoundaryMode
- All Implemented Interfaces:
Serializable,Comparable<PABoundsPolicy.PABoundaryMode>,Constable
- Enclosing class:
- PABoundsPolicy
Provides descriptors for PABoundsPolicy: CLIP, WRAP, REFLECT, SKIP_TIME, KEEP_TIME.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionClamp coordinates to bounds.Drop out-of-bounds points but preserve original timing.Reflect coordinates across bounds (mirror behavior).Drop out-of-bounds points and collapse time across removed spans.Wrap coordinates modulo width/height (toroidal space). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PABoundsPolicy.PABoundaryMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLIP
Clamp coordinates to bounds. -
WRAP
Wrap coordinates modulo width/height (toroidal space). -
REFLECT
Reflect coordinates across bounds (mirror behavior). -
SKIP_TIME
Drop out-of-bounds points and collapse time across removed spans. -
KEEP_TIME
Drop out-of-bounds points but preserve original timing.
-
-
Constructor Details
-
PABoundaryMode
private PABoundaryMode()
-
-
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
-