Einhugur macOS Bridge plugin.

NSColorList.Operator_Subscript Method

Sets color by a key.

Operator_Subscript(
   key as String,
   assigns value as Color)

Parameters

key
The key for the color in the list.
value (assign parameter)
The color value to be added.

Remarks

If color by the given key already exists then the color is replaced. If the key does not exist then key is appended to back of the list.

See Also

NSColorList Class