KeyCycles.Wave
enum KeyCycles.Wave
Summary
Public functions |
|
|---|---|
java-static KeyCycles.Wave! |
Returns the enum constant of this type with the specified name. |
java-static Array<KeyCycles.Wave!>! |
values()Returns an array containing the constants of this enum type, in the order they're declared. |
Enum Values
COS
val KeyCycles.Wave.COS: KeyCycles.Wave
REVERSE_SAW
val KeyCycles.Wave.REVERSE_SAW: KeyCycles.Wave
SAW
val KeyCycles.Wave.SAW: KeyCycles.Wave
SIN
val KeyCycles.Wave.SIN: KeyCycles.Wave
SQUARE
val KeyCycles.Wave.SQUARE: KeyCycles.Wave
TRIANGLE
val KeyCycles.Wave.TRIANGLE: KeyCycles.Wave
Public functions
valueOf
java-static fun valueOf(name: String!): KeyCycles.Wave!
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
| Returns | |
|---|---|
KeyCycles.Wave! |
the enum constant with the specified name |
| Throws | |
|---|---|
java.lang.IllegalArgumentException |
if this enum type has no constant with the specified name |
values
java-static fun values(): Array<KeyCycles.Wave!>!
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
| Returns | |
|---|---|
Array<KeyCycles.Wave!>! |
an array containing the constants of this enum type, in the order they're declared |