Color

enum Color : Enum<Color>

Color Enum for internal and external use which contains the unicode values for each color

Author

SKN Shukhan

Since

2024-06-09

Entries

Link copied to clipboard

Reset enum constant

Link copied to clipboard

Black enum constant

Link copied to clipboard

Red enum constant

Link copied to clipboard

Green enum constant

Link copied to clipboard

Yellow enum constant

Link copied to clipboard

Blue enum constant

Link copied to clipboard

Purple enum constant

Link copied to clipboard

Cyan enum constant

Link copied to clipboard

White enum constant

Link copied to clipboard

Bold Black enum constant

Link copied to clipboard

Bold Red enum constant

Link copied to clipboard

Bold Green enum constant

Link copied to clipboard

Bold Yellow enum constant

Link copied to clipboard

Bold Blue enum constant

Link copied to clipboard

Bold Purple enum constant

Link copied to clipboard

Bold Cyan enum constant

Link copied to clipboard

Bold White enum constant

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

Functions

Link copied to clipboard
fun format(): String

Formats the name of each of the enum constant

Link copied to clipboard
fun value(): String

Gives the unicode value of respective enum constant(Color)

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

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.