Contrast

Represents different levels of contrast for UI components.

Each contrast level is associated with a specific numeric value.

Entries

Link copied to clipboard

Default contrast level with a value of 0.0.

Link copied to clipboard

Medium contrast level with a value of 0.5.

Link copied to clipboard

High contrast level with a value of 1.0.

Link copied to clipboard

Reduced contrast level with a value of -1.0.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The numeric value representing the contrast level.

Functions

Link copied to clipboard
fun valueOf(value: String): Contrast

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.