Represents different levels of contrast for UI components.
Each contrast level is associated with a specific numeric value.
Default contrast level with a value of 0.0.
0.0
Medium contrast level with a value of 0.5.
0.5
High contrast level with a value of 1.0.
1.0
Reduced contrast level with a value of -1.0.
-1.0
Returns a representation of an immutable list of all enum entries, in the order they're declared.
The numeric value representing the contrast level.
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 an array containing the constants of this enum type, in the order they're declared.