Skip to content

ColorLookup

[Source]

Map color name strings to Color primitives.

primitive val ColorLookup

Constructors

create

[Source]

new val create()
: ColorLookup val^

Returns


Public Functions

apply

[Source]

fun box apply(
  name: String val)
: (Default val | Black val | Red val | 
    Green val | Yellow val | Blue val | 
    Magenta val | Cyan val | White val | 
    BrightBlack val | BrightRed val | BrightGreen val | 
    BrightYellow val | BrightBlue val | BrightMagenta val | 
    BrightCyan val | BrightWhite val | Rainbow val | 
    None val)

Parameters

Returns


eq

[Source]

fun box eq(
  that: ColorLookup val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: ColorLookup val)
: Bool val

Parameters

Returns